This commit is contained in:
abearxiong committed 2025-02-27 00:08:22 +08:00
1 parent 9eb68a69d7
commit 65ee66d6b4
7 files changed
+56 -36

No files matched your search

+8
View File
@@ -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
View File
@@ -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 };