push auths

merge-requests/4/head
Matthew 2020-08-30 21:41:27 -04:00
parent 22c5c3548d
commit 88728802a8
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export default class Server {
}
private async loadRoutes(): Promise<void> {
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;