add proxy to /auth for dev server

This commit is contained in:
Henry Jameson 2026-06-17 19:46:29 +03:00
commit 20ff0c0091

View file

@ -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,