Skip to content

Commit

Permalink
refactor: Update JupyterLoad.js to use HTTPS for finalURL
Browse files Browse the repository at this point in the history
This commit updates the JupyterLoad.js file to use HTTPS for the finalURL variable. Previously, it was using an insecure HTTP URL, which could lead to security vulnerabilities. By switching to HTTPS, we ensure a secure connection when loading the Jupyter notebook. This change improves the overall security of the application.
  • Loading branch information
szweibel committed Aug 5, 2024
1 parent 9ea10ba commit cd09e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/WorkshopPieces/JupyterLoad.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function JupyterLoad({ ...props }) {
}}
onClick={() => {
const fromURLString = `&fromURL=${desiredFile}`
const finalURL = `melodic-moonbeam-e29b67.netlify.app/lab/index.html?${fromURLString}`;
const finalURL = `https://melodic-moonbeam-e29b67.netlify.app/lab/index.html?${fromURLString}`;
setJupyterSrc(finalURL)
}}
>
Expand Down

0 comments on commit cd09e8a

Please sign in to comment.