generated from tailored/router-db-template
init
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { app } from './index.ts';
|
||||
import { useConfig } from '@kevisual/use-config/env';
|
||||
|
||||
import { config } from './modules/config.ts';
|
||||
app
|
||||
.route({
|
||||
path: 'auth',
|
||||
@@ -38,7 +37,6 @@ app
|
||||
})
|
||||
.addTo(app);
|
||||
|
||||
const config = useConfig();
|
||||
const port = config.PORT || 4000;
|
||||
|
||||
console.log('run demo: http://localhost:' + port + '/api/router?path=demo&key=demo');
|
||||
|
||||
Reference in New Issue
Block a user