Skip to content

Commit

Permalink
Merge pull request #68 from Chasen-Zhang/main
Browse files Browse the repository at this point in the history
chore: add header for proxy
  • Loading branch information
BohuTANG authored Jun 2, 2023
2 parents 04d70e3 + 0c6df6b commit c18f880
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ export default defineConfig({
'/query': {
target: 'https://ask.databend.rs',
changeOrigin: true,
headers: {
'Origin': 'https://ask.databend.rs'
}
}
}
},
Expand Down

1 comment on commit c18f880

@vercel
Copy link

@vercel vercel bot commented on c18f880 Jun 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.