mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 07:04:25 +00:00
00629fea95
* static url * add cors support for static resources * [assets] work on the migration to configurable url for assets Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [misc] fix whitespace Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] fix the loading of the manifest.json It is generated dynamically, and as such can not be served by the cdn. Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Revert "add cors support for static resources" This reverts commit42f964fd18
Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] add the STATIC_URL_PREFIX option Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] migrate the url of a new asset to the static url prefix REF:f2a3abc683
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
12 lines
589 B
Cheetah
12 lines
589 B
Cheetah
{{template "base/head" .}}
|
|
<div class="ui container center">
|
|
<p style="margin-top: 100px"><img src="{{StaticUrlPrefix}}/img/500.png" alt="500"/></p>
|
|
<div class="ui divider"></div>
|
|
<br>
|
|
{{if .ErrorMsg}}<p>An error has occurred :</p>
|
|
<pre style="text-align: left">{{.ErrorMsg}}</pre>{{end}}
|
|
{{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
|
|
{{if .IsAdmin}}<p>If you are sure this is Gitea bug, please search for issue on <a href="https://github.com/go-gitea/gitea/issues">GitHub</a> and open new issue if necessary.</p>{{end}}
|
|
</div>
|
|
{{template "base/footer" .}}
|