diff --git a/back/index.ts b/back/index.ts index 7c2c401..48ba10d 100644 --- a/back/index.ts +++ b/back/index.ts @@ -9,7 +9,7 @@ app.get('/i18n/:file', (req, res) => { 'Content-Type': 'application/json' }}); }); -app.use(express.static('public')); +app.use('/hrm', express.static('public')); app.get('*', (req, res) => { res.sendFile( path.resolve(__dirname, 'public', 'index.html')