Skip to content

Commit f727929

Browse files
authored
Merge pull request #272 from pathsim/feature/codegen-export
Use query parameter instead of URL hash for codegen transfer
2 parents 7648211 + 19ac6e4 commit f727929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
}
127127
128128
const encoded = await compressAndEncode(pythonCode);
129-
window.open(`${CODEGEN_URL}#code=${encoded}`, '_blank');
129+
window.open(`${CODEGEN_URL}?code=${encoded}`, '_blank');
130130
flashSaveButton('codegen');
131131
}
132132

0 commit comments

Comments
 (0)