>Or better yet, configure your web server to serve those files directly, without hitting web2py at all.
Yes that's the better solution, thanks. ---------------------- Gael Princivalle 2017-01-17 20:20 GMT+01:00 Anthony <abasta...@gmail.com>: > On Tuesday, January 17, 2017 at 2:01:28 PM UTC-5, Gael Princivalle wrote: >> >> I mean: >> https://www.mtbconnection.com/OneSignalSDKWorker.js >> It's required to have this file on the root level. >> I use a parametric router, do you know how I can do it? >> >> routers = dict( >> BASE = dict( >> domains = { >> "www.mtbconnection.com" : "mtbconnection", >> } >> ), >> mtbconnection = dict(languages=['en', 'it'], default_language='it'), >> ) >> >> > Trying adding the root_static option (see https://github.com/web2py/ > web2py/blob/b2e03c9dee935d46cb9512f0595dc2dacddb5166/examples/routes. > parametric.example.py#L56). > > Or better yet, configure your web server to serve those files directly, > without hitting web2py at all. > > Anthony > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/web2py/j9WBO_f8ZKg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.