Can the tinylicious server be launched at a port other than 3000? I've tried something like "PORT=4100 tinylicious" and I can see the terminal log saying:
@federation/shell-app: [1] info: Listening on port 4100 {"label":"winston","timestamp":"2021-03-08T19:23:37.861Z"} but later it fails within my code, indicating something went wrong with the service call:
main.js:15815 ERROR TypeError: Cannot read property 'shapeClicked' of undefined at Layer.onClick [as zzClickFunc] (collabmap.component.js:45) at JS:24817 at Array.<anonymous> (JS:8190) at window.<computed> (JS:1111) at Object.<anonymous> (JS:51778) at j (JS:51777) and indeed, the Network tab reveals it's still posting via 3000:
Request URL: http://localhost:3000/documents/tinylicious Referrer Policy: strict-origin-when-cross-origin I know tinylicious is not the full Fluid server and it's just for testing purposes, so it might have been hardwired to 3000, but maybe someone has an idea how to launch it on a different port.
https://stackoverflow.com/questions/66536190/can-the-tinylicious-server-be-launched-at-a-port-other-than-3000 March 09, 2021 at 03:46AM
没有评论:
发表评论