-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Legal Pages does not work anymore (files in "public" directory not accessible) #28463
Comments
Yes, the document is outdated. You need to use path: /path/to/custom/public/assets/privacy.html |
lunny
pushed a commit
that referenced
this issue
Dec 14, 2023
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Dec 14, 2023
wxiaoguang
added a commit
that referenced
this issue
Dec 14, 2023
Backport #28465 by wxiaoguang Fix #28463 Co-authored-by: wxiaoguang <[email protected]>
fuxiaohei
pushed a commit
to fuxiaohei/gitea
that referenced
this issue
Jan 17, 2024
silverwind
pushed a commit
to silverwind/gitea
that referenced
this issue
Feb 20, 2024
project-mirrors-bot-tu bot
pushed a commit
to project-mirrors/forgejo-as-gitea-fork
that referenced
this issue
Jan 23, 2025
…28467) Backport go-gitea#28465 by wxiaoguang Fix go-gitea#28463 Co-authored-by: wxiaoguang <[email protected]> (cherry picked from commit 6de862a)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I created legal pages for my Gitea installation some time ago and it worked. I followed the documentation at https://docs.gitea.com/administration/adding-legal-pages
Today, after the update to 1.21.2, I noticed that the pages are not working anymore. I get a 404 error in the browser console and there is only a white page. The HTML files are still in the correct directory. I placed another (new) file there and it also did not work.
I don't know since which version this does not work anymore, maybe one of the last updates did this, not the current one.
Gitea Version
1.21.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.43.0
Operating System
Ubuntu 18.04.6 LTS x64
How are you running Gitea?
Installed as a package and running as a systemd service with https://gitlab.com/packaging/gitea
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: