From b03eed8e3fbd1e90662ed81436e387385386db07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Fri, 26 Apr 2024 11:35:01 +0200 Subject: [PATCH] fix --- back/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')