fix redirect header
This commit is contained in:
1 parent
50e8530e96
commit
421133ab85
1 file changed
+9
-2
@@ -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>
|
||||
Reference in new issue
Block a user