diff options
author | dartcafe <github@dartcafe.de> | 2020-01-21 15:43:38 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-01-21 15:43:38 +0300 |
commit | 923d0f106c92e8699b966ea1721abfe15cd8824f (patch) | |
tree | 2d6e26ca4441d85345dfc55b6eeb65598b466895 /src/js/router.js | |
parent | bc00379d2efe8708214b2203372d31a3c31ea22c (diff) |
redirect old public routes #761
Diffstat (limited to 'src/js/router.js')
-rw-r--r-- | src/js/router.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/router.js b/src/js/router.js index 9eb26428..d11cbc71 100644 --- a/src/js/router.js +++ b/src/js/router.js @@ -64,6 +64,10 @@ export default new Router({ name: 'vote' }, { + path: '/poll/:token', + redirect: '/s/:token' + }, + { path: '/s/:token', components: { default: PublicVote |