I'm having trouble exposing a file in the following way:
I configured my routes.py like this:
routers = dict (
# base router
BASE = dict (
default_application = 'connect',
root_static = ['favicon.ico', 'sw.js', 'well-known / file.json'],
),
)
routes_in = (
('well-known / file.json', '/app/static/file.json'),
)
routes_out = ('/app/static/file.json','well-known/file.json')
Note:
The file are in static folder, I don't created 'well-known' folder.
But web2py crashes ...
Any suggestions on how I can resolve this issue?