totaljs / framework4

Total.js framework v4
https://www.totaljs.com
Other
99 stars 36 forks source link

[BUG] PROXY BUG #49

Closed geunsukang closed 1 year ago

geunsukang commented 1 year ago

Describe the bug Missing port when using proxy.

To Reproduce PROXY('/users/', 'http://localhost:**8001**/', false);

Expected behaviour RESP : connect ECONNREFUSED localhost:80

Screenshots

image

Must gather (please complete the following information):

Additional context Missing port when using proxy. https://github.com/totaljs/framework4/blob/58f5d8f1a7d377d7954cdb6e835e803080c7689c/index.js#L8999

So, the request is made on the default port 80.

petersirka commented 1 year ago

Hi @geunsukang, Sorry for the big delay. It's fixed. You can try it:

npm install total4@beta

New release will be next week. Thank you!

BTW: beta is stable!

geunsukang commented 1 year ago

Thank you! Happy new year!