diff --git a/asctb-api/src/routes/static-pages.ts b/asctb-api/src/routes/static-pages.ts index 5807972e..746da9c0 100644 --- a/asctb-api/src/routes/static-pages.ts +++ b/asctb-api/src/routes/static-pages.ts @@ -4,11 +4,11 @@ import path from 'path'; export function setupStaticPageRoutes(app: Express): void { app.get('/graph', (req: Request, res: Response) => { - res.sendFile('assets/graph-vis/index.html', { root: path.join(__dirname, '../../') }); + res.sendFile('assets/graph-vis/index.html', { root: path.join(__dirname, '../../../') }); }); app.get('/', (req: Request, res: Response) => { - res.sendFile('views/home.html', { root: path.join(__dirname, '../../') }); + res.sendFile('views/home.html', { root: path.join(__dirname, '../../../') }); }); }