From d16e4fa34df222e08968b060d40aaf6b6ebeb912 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 29 Jan 2025 16:57:04 +0100 Subject: [feature] Use maintenance router to serve 503 while server is starting/migrating (#3705) * [feature] Use maintenance router to serve 503 while server is starting/migrating * love you linter, kissies --- web/template/maintenance.tmpl | 76 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 web/template/maintenance.tmpl (limited to 'web') diff --git a/web/template/maintenance.tmpl b/web/template/maintenance.tmpl new file mode 100644 index 000000000..153130c53 --- /dev/null +++ b/web/template/maintenance.tmpl @@ -0,0 +1,76 @@ +{{- /* +// GoToSocial +// Copyright (C) GoToSocial Authors admin@gotosocial.org +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . +*/ -}} + + + + + + + + + + + + + + + + + + {{- .host -}} + + +
+ +
+

This GoToSocial instance is currently down for maintenance, starting up, or running database migrations. Please wait.

+

If you are the admin of this instance, check your GoToSocial logs for more details, and make sure to not interrupt any running database migrations!

+
+ +
+ + \ No newline at end of file -- cgit v1.2.3