add proxy to /auth for dev server
This commit is contained in:
parent
bf37842b5f
commit
20ff0c0091
1 changed files with 6 additions and 0 deletions
|
|
@ -80,6 +80,12 @@ export default defineConfig(async ({ mode, command }) => {
|
|||
cookieDomainRewrite: 'localhost',
|
||||
ws: true,
|
||||
},
|
||||
'/auth': { // Mastodon password reset lives here
|
||||
target,
|
||||
changeOrigin: true,
|
||||
cookieDomainRewrite: 'localhost',
|
||||
ws: true,
|
||||
},
|
||||
'/nodeinfo': {
|
||||
target,
|
||||
changeOrigin: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue