Scifabric / pybossa

PYBOSSA is the ultimate crowdsourcing framework (aka microtasking) to analyze or enrich data that can't be processed by machines alone.
http://pybossa.com
GNU Affero General Public License v3.0
745 stars 269 forks source link

Base url for Pybossa #1995

Closed Nits2097 closed 4 years ago

Nits2097 commented 4 years ago

In case I want to host the flask app using a base url, my redirection worked, but none of my static files are loading. All files using /static are html pages and I am unable to configure the base url easily into that. Is there any easy way around it? Or would we have to add the base url in a hard coded fashion in all html files?

teleyinex commented 4 years ago

You should configure Nginx properly to serve those files. Check the contrib folder for some examples, also the official Flask documentation regarding deployments.