Skip to content

Commit

Permalink
Binder: skip "Safe preview" mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 4, 2024
1 parent 6bb6b98 commit a724359
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/common/Binder.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ export const start_binder = async ({ setStatePromise, connect, launch_params })
}

let open_remotely = async (p1, p2) => {
const open_url = with_query_params(new URL("open", binder_session_url), { [p1]: p2 })
const open_url = with_query_params(new URL("open", binder_session_url), {
[p1]: p2,
execution_allowed: "true",
})

console.log(`open ${p1}:`, open_url)
return fetch(with_token(open_url), {
Expand Down

0 comments on commit a724359

Please sign in to comment.