mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-23 01:30:33 +03:00
chore: update examples, convert vue-router to ts
This commit is contained in:
+2
-2
@@ -41,10 +41,10 @@ app.use((req, res, next) => {
|
||||
// the examples without errors in the browser
|
||||
if (req.url.endsWith('.js')) {
|
||||
res.setHeader('Content-Type', 'application/javascript')
|
||||
res.send('')
|
||||
res.send('/* empty */')
|
||||
} else if (req.url.endsWith('.css')) {
|
||||
res.setHeader('Content-Type', 'text/css')
|
||||
res.send('')
|
||||
res.send('/* empty */')
|
||||
} else {
|
||||
next()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user