-// Static HTML/CSS/JS client files
-const staticClientFiles = [
- 'ngsw-worker.js',
- 'ngsw.json'
-]
-
-for (const staticClientFile of staticClientFiles) {
- const path = join(root(), 'client', 'dist', staticClientFile)
-
- clientsRouter.get(`/${staticClientFile}`, (req: express.Request, res: express.Response) => {
- res.sendFile(path, { maxAge: STATIC_MAX_AGE.SERVER })
- })
-}
-