1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-11 00:58:39 +03:00

Fixed default error pages 404-500

This commit is contained in:
Adolfo Gómez García 2023-07-04 00:40:28 +02:00
parent 73cd338325
commit 80bf97a8b1
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
4 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@ webencodings
xml-marshaller
ipython
pyvmomi
XenAPI
PyJWT
pylibmc
gunicorn

View File

@ -15,7 +15,7 @@
<script type="text/javascript">
function onLoad() {
var msg = window.btoa(django.gettext('Page not found'));
var msg = '16'
window.location.href = "{% url 'page.error' 'param' %}".replace('param', msg);
}
</script>

View File

@ -15,7 +15,7 @@
<script type="text/javascript">
function onLoad() {
var msg = window.btoa(django.gettext('Internal server error'));
var msg = '17';
window.location.href = "{% url 'page.error' 'param' %}".replace('param', msg);
}
</script>

File diff suppressed because one or more lines are too long