Skip to content

Commit 4ce9525

Browse files
committed
Update proxy configuration to disable HTTPS and CORS
1 parent 77944c1 commit 4ce9525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nuxt.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,15 @@ export default defineNuxtConfig({
101101
},
102102
},
103103
proxy: {
104+
https: false,
104105
proxies: {
105106
'/api': {
106107
rewrite: (path: string) => path.replace(/^\/api/, ''),
107108
target: SESAME_APP_API_URL,
108109
changeOrigin: true,
109110
}
110111
},
112+
cors: false,
111113
},
112114
http: {
113115
debug: /true|on|yes|1/i.test(`${process.env.DEBUG}`),

0 commit comments

Comments
 (0)