Skip to content

Commit 47693b1

Browse files
authored
Add ask-open-desktop param to ZDS link (#192)
Since our implementation of temporary workspaces in browser Zoo Design Studio as of KittyCAD/modeling-app#7393, we need to add this query parameter to links like this one so that it can pick up on the temporary workspace logic. We can upstream a fix to let the temporary workspace logic run without it from the ZDS side separately, but this is a no-harm fix in the meantime.
1 parent 7d5345f commit 47693b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/(sidebarLayout)/view/[modelId]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
$: gltfUrl = `data:model/gltf+json;base64,${data.outputs ? data.outputs['source.gltf'] : ''}`
3131
3232
$: zooDesignStudioUrl = data.code
33-
? `https://app.zoo.dev?create-file=true&name=deeplinkscopy&code=${encodeURIComponent(
33+
? `https://app.zoo.dev?ask-open-desktop=true&create-file=true&name=deeplinkscopy&code=${encodeURIComponent(
3434
btoa(data.code)
3535
)}`
3636
: ''

0 commit comments

Comments
 (0)