mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
directory in BASE_URL is partially ignored #211
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andidevi on GitHub (Jul 18, 2022).
If you set a directory in BASE_URL like
planka is served from
/plankabut the html still loads assets from/static/…and/manifest.jsoninstead of/planka/static/…and/manifest.json.That files are also served from the wrong place so BASE_URL is only honored for the basic html, but everything else is outside the defined base.
This also may affect #43 and #111, but those issues also discuss other unrelated problems.
@jacqueslorentz commented on GitHub (Sep 25, 2022):
Hi all!
I faced the same issue!
The React application path is not configured with the BASE_URL variable, not very complex.
But it seems that the lib
sails.io.jsused for websocket does not support url path and is not actively maintained anymore.In the call of
sails.io.jsdependencysocket.io-client88b96ea019/sails.io.js (L884)A specific socket connection path requires some additional option: https://socket.io/docs/v2/client-api/#with-custom-path
I will propose a PR to fix this issue soon.
Have a good day all!