CollaboraOnline / richdocumentscode

Built-in CODE Server app
https://apps.nextcloud.com/apps/richdocumentscode
Apache License 2.0
121 stars 29 forks source link

Support for subdir / path #290

Open d3xt3r01 opened 1 month ago

d3xt3r01 commented 1 month ago

I have NC installed in /nextcloud/ . I just installed it and it seems that when I try to load a .docx file the browser does a request which results in 404 (of course)

https://site/custom_apps/richdocumentscode/proxy.php?req=/browser/77a0aab/cool.html?WOPISrc=...

This should be

https://site/nextcloud/custom_apps/...

Manually loading that url seems to result in other 404s because the css and js it's trying to load also don't know about the custom path.

https://site/custom_apps/richdocumentscode/proxy.php?req=/browser/77a0aab/.... bundle.css branding.css global.js branding.js bundle.js