Add redirect for hensei-transfer CORS
This commit is contained in:
parent
ce3001132f
commit
7dd5d6988a
1 changed files with 10 additions and 0 deletions
|
|
@ -53,6 +53,16 @@ module.exports = {
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
async redirects() {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
source: '/transfer/version',
|
||||||
|
destination:
|
||||||
|
'https://raw.githubusercontent.com/Vazkii/hensei-transfer/main/version',
|
||||||
|
permanent: true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
webpack(config) {
|
webpack(config) {
|
||||||
// Set up alias for styles
|
// Set up alias for styles
|
||||||
config.resolve.alias = {
|
config.resolve.alias = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue