Lurker News

Comments (85) 24 threads

Show all comments

Showing thread 17 of 24

lappet1 reply#
Nice! I am guessing you don't want to hard code the domain/hostname in script.js (line 40) ?
alex_g1 reply#
Right, it's just localhost right now, so I don't think it matters.
lappet1 reply#
Btw I am unable to get it working locally. I only see 404s. Do I need anything special to serve the static files?
alex_g3 replies#
Happy to help. The static files should only be accessed by opening index.html in your browser. From another user: "Don't go to localhost:5000/, like you might think. Open file://.../WikiQuiz/index.html as a file in Chrome. It will make ajax requests to localhost:5000"

Continue this thread — 3 replies