Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use relative paths for ctx.importScripts() (#13854)
Before we tried to load absolute paths e.g. `/context/`. This is a problem, when working in deployed use cases, where Theia might be hosted under a path (e.g. try.theia-cloud.io). Because then the loaded path will be from the root of the page and not, like wanted, from the current path. Simply changing it to relative paths (e.g. `./context/`) solves this issue. Fixes #13813
- Loading branch information