eclipse-theia/theia
VSCode extension icons are not loaded when a path is added to base URL
開放
#9,596 建立於 2021年6月16日
help wantedvscode
倉庫指標
- 星標
- (18,676 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
Bug Description:
Steps to Reproduce:
- Run sample browser-app with a vscode extension. I'm using docker for vscode extension which I got from the public github.
- Open http://localhost:3000
- Plugin will be loaded with the icon on the activity bar:

- Open http://localhost:3000/index.html , you'll observe that icon wouldn't be loaded.
Network call:
Request URL: http://localhost:3000/index.html/hostedPlugin/docker_vscode/resources/activity-bar-icon.svg Request Method: GET Status Code: 404 Not Found
If you see the above get URL, extension is using http://localhost:3000/index.html as the base URL to fetch the extension assets. How do we configure theia to ignore index.html in the path while fetching the assets for an extension?
Additional Information
- Operating System: OSX
- Theia Version: 0.14.0