Merge pull request 'fix: altro bug di route e path' (#12) from dev into main
continuous-integration/drone/push Build is passing Details

Reviewed-on: #12
dev
Antonio De Lucreziis 2 years ago
commit 21bb32373c

@ -98,8 +98,8 @@ async function createProductionRouter(db: DatabaseConnection) {
res.send(finalHtml) res.send(finalHtml)
} }
r.get(process.env.BASE_URL ?? '/', handleSSR) r.get('/', handleSSR)
r.use(process.env.BASE_URL ?? '/', express.static('dist/entry-client')) r.use('/', express.static('dist/entry-client'))
r.use('*', handleSSR) r.use('*', handleSSR)

Loading…
Cancel
Save