You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mjbvz I think this is a break update but not in the update doc.
I used webview.asWebviewUri(Uri.file(<some path>)) and got a url like
Old (v1.46): "vscode-resource://file///root/repo/vscode-redis/out/view/js/main.js"
New (v1.47): "vscode-webview-resource://4653f308-3117-4192-97f2-ec249cd8f1a5/file///root/repo/vscode-redis/out/view/js/main.js"
The extension installed on wsl2(Ubuntu), and there is something more after vscode resource schema in v1.47.
The text was updated successfully, but these errors were encountered:
asWebviewUri returns a uri the works in webviews. We do not document format of the returned uri and extensions should not rely on the uri being a specific format. For example, the result of asWebviewUri is completely different when VS Code is run on desktop vs in a browser
If this change caused problems for your extension, please make sure you are not hardcoding vscode-resource in your code and instead always call asWebviewUri
#97962
#102044
@mjbvz I think this is a break update but not in the update doc.
I used
webview.asWebviewUri(Uri.file(<some path>))
and got a url likeThe extension installed on wsl2(Ubuntu), and there is something more after vscode resource schema in v1.47.
The text was updated successfully, but these errors were encountered: