🔧 Support for refactored import process WIP

This commit is contained in:
2021-12-01 14:06:41 -08:00
parent 2cc9aee22e
commit e197143498
11 changed files with 67 additions and 25 deletions

View File

@@ -30,8 +30,8 @@ app.use(bodyParser.urlencoded({ extended: true }));
// REGISTER ROUTES
// all of the routes will be prefixed with /api
// const routes: Router[] = Object.values(router);
// app.use("/api", routes);
const routes: Router[] = Object.values(router);
app.use("/api", routes);
// Send index.html on root request
app.use(express.static("dist"));