Skip to content

Commit f58416c

Browse files
committed
Add CSPSHARE=1 to ensure token actually works
This is equivalent to what Studio does.
1 parent 1845cde commit f58416c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/studio.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class StudioActions {
131131
this.api.actionQuery("select %Atelier_v1_Utils.General_GetCSPToken(?) token", [target]).then((tokenObj) => {
132132
const csptoken = tokenObj.result.content[0].token;
133133
url.searchParams.set("CSPCHD", csptoken);
134+
url.searchParams.set("CSPSHARE", "1");
134135
url.searchParams.set("Namespace", this.api.config.ns);
135136
panel.webview.html = `
136137
<!DOCTYPE html>

0 commit comments

Comments
 (0)