1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Fixed error pages 404 - 500

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

View File

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

View File

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