Noctem / Monocle

PoGo mapper and notifier
MIT License
122 stars 151 forks source link

main.js uses / for root path instead of relative #194

Open DavePlater opened 7 years ago

DavePlater commented 7 years ago

main.js has about 8 urls with the root specifier ('/static/monocle-icons/icons/') instead of relative ('static/monocle-icons/icons/') style. I made the changes to mine locally so i can use a reverse proxy to talk to my various workers. Has been working great after i fixed all of those.

(Enhancement or Bug Fix)

DavePlater commented 7 years ago

Actually I think I am going to make the path references to icons be a variable at the top, so it can be overrriden and all of my web.py instances can reference the same working set

DavePlater commented 7 years ago

Also need to change all the$.get('/ references to relative paths