feat: added empty API router

pull/243/head
Josh Moore 1 year ago
parent 07332009fd
commit b852a95dcd

@ -103,6 +103,7 @@ async function main() {
// Routing
app.use('/setup', (await import('./routers/setup')).router);
app.use('/api', (await import('./routers/api')).router);
app.use('/', (await import('./routers/index')).router);
// Host app

@ -0,0 +1,5 @@
import { Router, json as BodyParserJson } from 'express';
const router = Router({ caseSensitive: true });
export { router };
Loading…
Cancel
Save