In Tutor 17 above mentioned urls point to localhost:18000 which is wrong and causes many broken links all over the place. For example if you try to unenroll from course in developer tools you can see that endpoint is called on localhost:18000 and it doesn’t work. When I hardcode correct url in urls.js instead unenroll works.
Any quick fix for this before patch as there are dozens of localhost:18000 instances all over the place?
Unfortunately they are not applied after launch, even if you start on a fresh PC and install everything from scratch you will get this issue. It is a bug in Tutor 17, you can see it also in the code if you search for localhost:18000.
I am not saying that it is in general set to wrong URL, but it is set on some specific cases. For example the easiest way to check is if you access learner dashboard MFE and try to UnEnroll from any course. If you try that you will see that it doesn’t work and you will stay enrolled. So if you check in developer tools, Network tab, you will see that endpoint called when you click UnEnroll is localhost:18000/…, instead of local.edly.io:8000/…
Also, wanted to add then in prod (local) the url for unenroll returns 200 but unenroll still doesnt work however in dev the urls is wrong (localhost:18000).