Skip to content

Commit

Permalink
Merge pull request #485 from shorepine/https
Browse files Browse the repository at this point in the history
.
  • Loading branch information
bwhitman authored Feb 4, 2025
2 parents 3a4cbe4 + 1290671 commit 15309c9
Show file tree
Hide file tree
Showing 15 changed files with 1,644 additions and 1,689 deletions.
2 changes: 1 addition & 1 deletion tulip/web/static/spss.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function shareCode() {
var py = editor.getValue();
code = encodeURIComponent(await compress(py));
var encoded_filename = encodeURIComponent(document.getElementById('editor_filename').value);
url = window.location.host+"/run/?fn=" + encoded_filename + "&" + "share=" + code;
url = window.location.protocol+"//"+window.location.host+"/run/?fn=" + encoded_filename + "&" + "share=" + code;
navigator.clipboard.writeText(url);
// Do a little button animation
document.getElementById(`shareButton`).innerHTML = "Copied to clipboard!";
Expand Down
19 changes: 0 additions & 19 deletions www/run/amy-20250203141154.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions www/run/amy-20250203170608.js

Large diffs are not rendered by default.

Binary file not shown.
19 changes: 0 additions & 19 deletions www/run/amy-audioin-20250203141154.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions www/run/amy-audioin-20250203170608.js

Large diffs are not rendered by default.

Binary file not shown.
4 changes: 2 additions & 2 deletions www/run/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.63.3/mode/python/python.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

<!-- These filenames are replaced by the build system -->
<script src="tulipcc-20250203141154.mjs" type="module"></script>
<script type="text/javascript" src="amy-20250203141154.js"></script>
<script src="tulipcc-20250203170608.mjs" type="module"></script>
<script type="text/javascript" src="amy-20250203170608.js"></script>
<script type="text/javascript" src="spss.js"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion www/run/spss.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function shareCode() {
var py = editor.getValue();
code = encodeURIComponent(await compress(py));
var encoded_filename = encodeURIComponent(document.getElementById('editor_filename').value);
url = window.location.host+"/run/?fn=" + encoded_filename + "&" + "share=" + code;
url = window.location.protocol+"//"+window.location.host+"/run/?fn=" + encoded_filename + "&" + "share=" + code;
navigator.clipboard.writeText(url);
// Do a little button animation
document.getElementById(`shareButton`).innerHTML = "Copied to clipboard!";
Expand Down
Binary file removed www/run/tulipcc-20250203141154.wasm
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 15309c9

Please sign in to comment.