Skip to content

Commit

Permalink
fix(web-standalone): POST of all kinds of bodies (json, form url enco…
Browse files Browse the repository at this point in the history
…ded, multipart, binary) was broken
  • Loading branch information
flawiddsouza committed Sep 21, 2023
1 parent 7065a09 commit a14216b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/web-standalone/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const app = express()
const port = process.env.PORT || 4004

app.use(express.static('public'))
app.use(express.raw())

app.post('/proxy', async(req, res) => {
const url = req.headers['x-proxy-req-url']
Expand Down

0 comments on commit a14216b

Please sign in to comment.