2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-05 20:12:25 +03:00

chore: prepare ssr example

This commit is contained in:
pimlie
2021-01-19 12:22:57 +01:00
parent e68b53573e
commit 2e2c08e1f8
19 changed files with 195 additions and 330 deletions
+1 -1
View File
@@ -39,10 +39,10 @@ app.use((req, res, next) => {
if (req.url.endsWith('.js')) {
res.setHeader('Content-Type', 'application/javascript')
res.send('')
next()
} else if (req.url.endsWith('.css')) {
res.setHeader('Content-Type', 'text/css')
res.send('')
} else {
next()
}
})