Skip to content

Commit

Permalink
add public path
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-zibert committed Nov 1, 2023
1 parent cbaf77e commit 7a7a151
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "turing-machine-interactive-sheet",
"version": "0.25.0",
"private": true,
"homepage": "https://alexander-zibert.github.io/turing-machine-board-game-solver",
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"name": "Turing Machine Interactive Sheet",
"icons": [
{
"src": "/assets/android-chrome-192x192.png",
"src": "/turing-machine-board-game-solver/assets/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/assets/android-chrome-512x512.png",
"src": "/turing-machine-board-game-solver/assets/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/wasm/worker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ globalThis.onerror = (event) => {
};
};

importScripts("/wasm/wasmWrapper.js");
importScripts("/turing-machine-board-game-solver/wasm/wasmWrapper.js");

function getPossibleCombinations({
state,
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/deductions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ export type Query = {
result: boolean;
};

const myWorker = new Worker("/wasm/worker.mjs");
const myWorker = new Worker(
"/turing-machine-board-game-solver/wasm/worker.mjs"
);

function checkDigits(state: RootState, possibleCodes: string[]) {
const digits = { triangle: new Set(), square: new Set(), circle: new Set() };
Expand Down

0 comments on commit 7a7a151

Please sign in to comment.