Skip to content

Commit

Permalink
Change jupyter redirect to preserve query string
Browse files Browse the repository at this point in the history
  • Loading branch information
frostyfan109 committed Feb 19, 2024
1 parent 0ca5c8f commit 0dc339b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/workspaces/eduhelx-assignment-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const EduhelxAssignmentView = withWorkspaceAuthentication(() => {
const instances = await api.getAppInstances()
const appInstance = instances.find(({ aid }) => aid === app.app_id)!
const qs = new URLSearchParams(window.location.search)
window.location.href = appInstance.url + `?${ EDUHELX_ASSN_QS_PARAM }=${ eduhelxAssn }`
window.location.href = appInstance.url + "?" + qs.toString()
}

const steps = useMemo(() => {
Expand Down

0 comments on commit 0dc339b

Please sign in to comment.