json-api/explorer

URLs that contain a port number are not supported.

mglaman opened this issue · 2 comments

Given a URL with a port, such as http://127.0.0.1:8080/jsonapi/explorer/app?location=http://127.0.0.1:8080, the app crashes.

It ends up appending the port on subsequent URL builds.

Screen Shot 2019-10-31 at 3 20 57 PM

zrpnr commented

I think that's from compileJsonApiUrl in src/lib/url/url.js
The port was added in separately there, let me know if that fixes it for you.

Screen Shot 2019-10-31 at 5 00 44 PM

it works, thank you!