I am doing my my map on OpenLayers 2 and I have GPS data out of the .js in separate .txt file. I am running this site on Flask, and I can't get access to the file.
The location of the file in the server looks like this: cache/gpsdata.txt in the root folder on flaskserver the html is in the template folder. I can't really acces the .txt file, I am still getting error. Should be there funtion in flask main .py to access thing through .js ? Thanks