2
0
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:
pimlie
2021-05-17 02:08:37 +02:00
parent eb032e3eff
commit 8069449119
13 changed files with 146 additions and 135 deletions
+2 -2
View File
@@ -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()
}