fix redirect header

This commit is contained in:
polv committed 2020-12-17 19:00:45 +07:00
1 parent 50e8530e96
commit 421133ab85
1 file changed
+9 -2
+9 -2
View File
@@ -2,8 +2,15 @@
import Vue from 'vue'
export default Vue.extend({
middleware: (ctx) => {
ctx.redirect('/blog')
head() {
return {
meta: [
{
httpEquiv: 'refresh',
content: '0; url=/blog',
},
],
}
},
})
</script>