Template
update
This commit is contained in:
1 parent
9eb68a69d7
commit
65ee66d6b4
7 files changed
+56
-36
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { useConfig } from '@kevisual/use-config';
|
||||
import { app } from './index.ts';
|
||||
|
||||
const config = useConfig();
|
||||
|
||||
app.listen(config.port, () => {
|
||||
console.log(`server is running at http://localhost:${config.port}`);
|
||||
});
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
import { app } from './app.ts';
|
||||
import { useConfig } from '@kevisual/use-config';
|
||||
import './demo-route.ts';
|
||||
const config = useConfig();
|
||||
|
||||
app.listen(config.port, () => {
|
||||
console.log(`server is running at http://localhost:${config.port}`);
|
||||
});
|
||||
export { app };
|
||||
Reference in new issue
Block a user