This is where the CORS errors are reported. Remember to press F12 key when running the Internet browser to see any errors. "GET /assets/13bpg.svg" Error (404): "Not found" "GET /assets/gadp.svg" Error (404): "Not found" "GET /assets/f16bp.svg" Error (404): "Not found" "GET /assets/f6p.svg" Error (404): "Not found" "GET /assets/g6p.svg" Error (404): "Not found" "GET /assets/glucose.svg" Error (404): "Not found" When running the Node.js http-server it will list actions and errors in the Windows console. "GET /glucose.svg" "Mozilla/5.0 (Windows NT 10.0 WOW64 Trident/7.0 rv:11.0) like Gecko" This is also useful for access individual image files to make sure they load and display, e.g. SET PATH="C:\Program Files (x86)\nodejs" "C:\Users\\AppData\Roaming\npm" "C:\Users\\AppData\Roaming\npm\node_modules\http-server" Create batch file to set Windows Path and start http-server.
0 Comments
Leave a Reply. |