We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5792173 + cb51035 commit 13554f6Copy full SHA for 13554f6
core/pages/Checkout.js
@@ -360,6 +360,7 @@ export default {
360
asyncData ({ store, route, context }) { // this is for SSR purposes to prefetch data
361
return new Promise((resolve, reject) => {
362
if (context) context.output.cacheTags.add(`checkout`)
363
+ if (context) context.server.response.redirect('/')
364
resolve()
365
})
366
}
core/pages/MyAccount.js
@@ -68,6 +68,7 @@ export default {
68
69
70
if (context) context.output.cacheTags.add(`my-account`)
71
72
73
74
0 commit comments