Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: use raw SVG for logo on static error page#20189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deansheather merged 1 commit intomainfromdean/static-error-page-logo-fix
Oct 7, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletionssite/static/error.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
{{/* This template is used by application handlers to render friendly error
pages when there is a proxy error (for example, when the target app isn't
running). */}}
{{/*
This template is used by application handlers to render friendly error pages
when there is a proxy error (for example, when the target app isn't running).

Since it is served from subdomains, both on proxies and the primary, it MUST
NOT access any external resources. It must be entirely self-contained. This
includes anything in `/static` or `/icon`, as these are not served from
subdomains.
*/}}
<!doctype html>
<html lang="en">
<head>
Expand DownExpand Up@@ -119,7 +125,18 @@
</head>
<body>
<div class="container">
<img class="coder-svg" src="/icon/coder.svg" alt="Coder" />
{{/*
DO NOT LOAD AN EXTERNAL IMAGE HERE. See the comment at the top of
this file for more details.
*/}}
<svg
class="coder-svg"
viewBox="0 0 66 48"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M18.996 7C29.9934 7.00003 36.1588 12.5745 36.3671 20.7799L26.8691 21.0919C26.6191 16.5433 22.8492 13.5554 18.996 13.6445C13.7055 13.756 9.78938 17.5243 9.78934 23.5C9.78934 29.4757 13.7054 33.1773 18.996 33.1773C22.8492 33.177 26.5357 30.323 26.9524 25.7743L36.4503 25.9974C36.2004 34.3365 29.6602 40 18.996 40C8.33164 40 0 33.5338 0 23.5C3.90577e-05 13.4216 7.9984 7 18.996 7ZM66 7.97504V39.1914H41.0058V7.97504H66Z" fill="white" />
</svg>

<h1>
{{- if not .Error.HideStatus }}{{ .Error.Status }} - {{end}}{{
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp