aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/error_handlers
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/views/error_handlers')
-rw-r--r--pysite/views/error_handlers/http_4xx.py3
-rw-r--r--pysite/views/error_handlers/http_5xx.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/pysite/views/error_handlers/http_4xx.py b/pysite/views/error_handlers/http_4xx.py
index 69c0bdda..1667adcf 100644
--- a/pysite/views/error_handlers/http_4xx.py
+++ b/pysite/views/error_handlers/http_4xx.py
@@ -26,5 +26,6 @@ class Error400View(ErrorView):
return self.render(
"errors/error.html", code=error.code, req=request, error_title=error_desc,
error_message=f"{error_desc} If you believe we have made a mistake, please "
- "<a href='https://github.com/discord-python/site/issues'>open an issue on our GitHub</a>."
+ "<a href='https://gitlab.com/discord-python/projects/site/issues'>"
+ "open an issue on our GitLab</a>."
), error.code
diff --git a/pysite/views/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py
index 5a4fbdc2..c9ffa007 100644
--- a/pysite/views/error_handlers/http_5xx.py
+++ b/pysite/views/error_handlers/http_5xx.py
@@ -36,6 +36,6 @@ class Error500View(ErrorView):
"errors/error.html", code=error.code, req=request, error_title=error_desc,
error_message="An error occurred while processing this request, please try "
"again later. If you believe we have made a mistake, please "
- "<a href='https://github.com/discord-python/site/issues'>file an issue on our"
- " GitHub</a>."
+ "<a href='https://gitlab.com/discord-python/projects/site/issues'>file an issue on our"
+ " GitLab</a>."
), error.code