Skip to content

Commit

Permalink
chore: update dev proxy origin to avoid csrf braking
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Aug 7, 2024
1 parent 44ca272 commit ff16761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export default defineNuxtConfig({
changeOrigin: true,
headers: {
host: proxy.host,
origin: proxy.referrer,
referer: proxy.referrer,
},
target: proxy.target,
Expand Down

0 comments on commit ff16761

Please sign in to comment.