totaljs/framework4

[BUG] PROXY BUG

Closed this issue · 2 comments

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):

  • total4@0.0.63
  • total4@0.0.71
  • node.js v14.21.1
  • Ubuntu 22.04

Additional context
Missing port when using proxy.

var uri = {};

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

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!

Thank you!
Happy new year!