fix(app): trial dev server pinned to loopback in its config
This commit is contained in:
1 parent
3831a49f46
commit
697cefa2dd
1 file changed
+3
@@ -15,7 +15,10 @@ const SUPABASE_ROUTES = ['/auth/v1', '/rest/v1', '/storage/v1']
|
||||
|
||||
export default defineConfig((env) =>
|
||||
mergeConfig(base(env), {
|
||||
// Loopback even when started by hand: the proxy carries the trial account's session.
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
strictPort: true,
|
||||
proxy: Object.fromEntries(
|
||||
SUPABASE_ROUTES.map((route) => [route, { target }]),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user