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:
+1
-1
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user