summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-09-01 16:42:33 +0200
committerGitHub <noreply@github.com>2023-09-01 14:42:33 +0000
commit02efd990102481e8d6bd577d4feb874187a00182 (patch)
tree90f992f8a3971d9c58ab5fcaa2a65649ebd0e93e /templates/base
parent327a7ad5185ea532389ff54b5faf91a8cf0429f3 (diff)
downloadgitea-02efd990102481e8d6bd577d4feb874187a00182.tar.gz
gitea-02efd990102481e8d6bd577d4feb874187a00182.zip
Move licenses.txt to /assets directory (#26866)
Now that we have the `/assets` directory, we can put`licenses.txt` directly into it instead of incorrect `/js` path which was previously only done to avoid reserving a username. --------- Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer_content.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index 3b87f25d63..cf647f1cc6 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -23,7 +23,7 @@
{{end}}
</div>
</div>
- <a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.locale.Tr "licenses"}}</a>
+ <a href="{{AssetUrlPrefix}}/licenses.txt">{{.locale.Tr "licenses"}}</a>
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
{{template "custom/extra_links_footer" .}}
</div>