From ff167610ae4952cb9de8d1254b6390c9fcc85104 Mon Sep 17 00:00:00 2001 From: Konstantinos Paparas Date: Wed, 7 Aug 2024 15:29:28 +0200 Subject: [PATCH] chore: update dev proxy origin to avoid csrf braking --- nuxt.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 6942ae0b..b1ec05f2 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -144,6 +144,7 @@ export default defineNuxtConfig({ changeOrigin: true, headers: { host: proxy.host, + origin: proxy.referrer, referer: proxy.referrer, }, target: proxy.target,