I had everything working until I created the new route in app.js and moved my “view code” to home.html from index.html.
Now, I get an error. Apparently Chrome now has some weird security restriction about opening from a local file… The error I get looks like this:
Now, this “crossloading” restriction is a tough nut to crack!!!
I use VSCODE as my editor.
- the google solution is this: http://www.chrome-allow-file-access-from-file.com/windows.html
which is to run the file from the bash command line with ‘path to your chrome installation\chrome.exe --allow-file-access-from-files’
But this work around does not work! And I can’t figure out how to get VSCode to tack that argument on to the command to chrome when it opens chrome from within the editing environment.
The general advice on line is to open this from a web host… but This whole exercise did not set us up for that… and up until this point this was not a problem!
here is the link to my updated stuff on Github: https://github.com/JeffGreenlee42/suggestion_box/tree/Adding-Suggestion-Box-comments-page
Does anyone know the solution to this?