Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Commit f42e0e5

Browse files
committed
Hotfix: fix regex for POST requests
1 parent 2589ebf commit f42e0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ server.opts('/', proxy.opts);
3434

3535
// Request handler configuration (for free tier)
3636
server.get(/^\/(https?:\/\/.+)/, freeTier, proxy.get);
37-
server.post(/^\/(http:\/\/.+)/, freeTier, proxy.post);
37+
server.post(/^\/(https?:\/\/.+)/, freeTier, proxy.post);
3838

3939

4040
module.exports = server;

0 commit comments

Comments
 (0)