Skip to content

Commit

Permalink
Fixed relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dvd101x authored Apr 21, 2024
1 parent 13e2f58 commit bee4826
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="manifest" href="/site.webmanifest">
</head>
<script>
let mathWorker = new Worker("mathWorker.js");
let mathWorker = new Worker("/mathWorker.js");
</script>

<body>
Expand Down
6 changes: 3 additions & 3 deletions public/mathWorker.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
importScripts(
"https://cdnjs.cloudflare.com/ajax/libs/mathjs/12.4.0/math.js",
"coolprop.js",
"fluidProperties.js",
"molecularMass.js",
"/coolprop.js",
"/fluidProperties.js",
"/molecularMass.js",
"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/markdown-it/13.0.2/markdown-it.min.js",
"https://cdn.jsdelivr.net/npm/markdown-it-texmath/texmath.min.js",
Expand Down

0 comments on commit bee4826

Please sign in to comment.