Lissy93 / personal-security-checklist

🔒 A compiled checklist of 300+ tips for protecting digital security and privacy in 2024
https://digital-defense.io
Other
16.86k stars 1.18k forks source link

404 Issue in self running copy - no checklists working. #250

Open ngoisac-bjohnson opened 5 months ago

ngoisac-bjohnson commented 5 months ago

Thanks for all the amazing work!!

I have an issue. When clicking on a checklist in self-hosted version of this (Master branch), I keep getting 404 errors.

yarn dev WORKS. But using the files from yarn build do not.

I am trying on Mac with python -m http.server

I visit: http://localhost:8000/checklist/authentication

There's no folder called authentication under the checklist folder in the locally built dist/ folder. I only see "index.html q-data.json" as the two files. Maybe there isn't supposed to be a folder and it is handled by javascript or some other way, but I see no javascript errors in the Chrome console.

I noticed clicking on the Theme doesn't do anything: Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: http://localhost:8000/build/q-b7851c00.js

I am trying the same thing in NGINX and also getting the same issue where I get 404 when I click on any checklist.

Is there anything else that we need to do to get this to work? Perhaps the newest version of typescript or some other library doesn't work anymore?

Thanks.