On a server install with reverse proxy on a subpath like shown in the wiki, if you try to right-click on any note on the note tree, no menu would show up, and the console will show an error, which shows that Trilium tried to fetch the assets file from the base URL path (/) rather than the configured subpath (/trilium/):
Upon reading the code some bit, it seems that this WebPack configurationmight be the one to blame, although I'm not familiar with WebPack and Node.js stuff. A similar bug can be spotted as well where after setting the password in the initial setup, the app redirects to the base URL / rather than the app entry, which could have something to do with this, with a potential fix here, but I'm just guessing based on my past experiences.
Trilium Version
0.57.5
What operating system are you using?
Other Linux
What is your setup?
Server access only
Operating System Version
Linux, Firefox 108 and Windows 10, Chrome 108
Description
On a server install with reverse proxy on a subpath like shown in the wiki, if you try to right-click on any note on the note tree, no menu would show up, and the console will show an error, which shows that Trilium tried to fetch the assets file from the base URL path (
/
) rather than the configured subpath (/trilium/
):Upon reading the code some bit, it seems that this WebPack configuration might be the one to blame, although I'm not familiar with WebPack and Node.js stuff. A similar bug can be spotted as well where after setting the password in the initial setup, the app redirects to the base URL
/
rather than the app entry, which could have something to do with this, with a potential fix here, but I'm just guessing based on my past experiences.Error logs