Thanks for the help!
Now I have a custom 40x error pages :)
Cheers.
Chris.
El jue., 30 abr. 2020 a las 5:13, 'Annet' via web2py-users (<
web2py@googlegroups.com>) escribió:
> I think routes_onerror = [] in routes.py is whar you're
> looking for:
>
> routes_onerror = [
>,(r'*/404', r'/handl
I think routes_onerror = [] in routes.py is whar you're
looking for:
routes_onerror = [
,(r'*/404', r'/handler/default/on_404_error')
,(r'*/*', r'/handler/default/onerror')
]
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.co
2 matches
Mail list logo