From 88728802a841f8a690a59d206575ee5c7e0c343b Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 30 Aug 2020 21:41:27 -0400 Subject: [PATCH] push auths --- src/class/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Server.ts b/src/class/Server.ts index 1ec9613..296fbe0 100644 --- a/src/class/Server.ts +++ b/src/class/Server.ts @@ -29,7 +29,7 @@ export default class Server { } private async loadRoutes(): Promise { - this.app.use('/static', express.static(`${__dirname}/../api/static`)); + this.app.use('/static', express.static(`${__dirname}/../../dist/api/static`)); const routes = await fs.readdir(`${__dirname}/../api/routes`); routes.forEach(async (routeFile) => { if (routeFile === 'index.js') return;