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:
parent
80bf97a8b1
commit
4e28bd4c9c
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user