Update next.config.js
Writes redirect for preview images so we're not embedding the API URL in user-facing pages
This commit is contained in:
parent
2628d1745b
commit
bbc90ee460
1 changed files with 4 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ module.exports = {
|
||||||
source: '/roadmap',
|
source: '/roadmap',
|
||||||
destination: '/about',
|
destination: '/about',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
source: '/p/:shortcode/preview',
|
||||||
|
destination: '/api/preview/:shortcode',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
source: '/p/:shortcode/characters',
|
source: '/p/:shortcode/characters',
|
||||||
destination: '/p/:shortcode',
|
destination: '/p/:shortcode',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue