Skip to content

Commit

Permalink
This is required
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 12, 2024
1 parent c6433ca commit 365468e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ const integration = {
proxy: {
"/": {
target: `http://${host}:${backend}`,
headers: {
origin: `http://${host}:${backend}`,
},
bypass(req, res, proxyOptions) {
if (req.url.includes("/rsbuild/")) return req.url
return null
Expand Down

0 comments on commit 365468e

Please sign in to comment.