Customization files should not require /assets path segment #7347

Closed
opened 2025-11-02 07:23:34 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @silverwind on GitHub (May 17, 2021).

Since https://github.com/go-gitea/gitea/pull/15219, previous customization files like $GITEA_CUSTOM/public/img/logo.svg are not loaded any more and require $GITEA_CUSTOM/public/assets/img/logo.svg to be loaded again, we should fix this because the assets segment should only be relevant on HTTP, not in the file system.

Originally created by @silverwind on GitHub (May 17, 2021). Since https://github.com/go-gitea/gitea/pull/15219, previous customization files like `$GITEA_CUSTOM/public/img/logo.svg` are not loaded any more and require `$GITEA_CUSTOM/public/assets/img/logo.svg` to be loaded again, we should fix this because the `assets` segment should only be relevant on HTTP, not in the file system.
GiteaMirror added the skip-changelogtype/bug labels 2025-11-02 07:23:34 -06:00
Author
Owner

@silverwind commented on GitHub (Jun 1, 2021):

@a1012112796 fyi.

@silverwind commented on GitHub (Jun 1, 2021): @a1012112796 fyi.
Author
Owner

@lunny commented on GitHub (Jun 1, 2021):

I think this has been resolved by #15961 .

@lunny commented on GitHub (Jun 1, 2021): I think this has been resolved by #15961 .
Author
Owner

@silverwind commented on GitHub (Jun 1, 2021):

Yeah, just rebuilt with that, seems to have been resolved.

@silverwind commented on GitHub (Jun 1, 2021): Yeah, just rebuilt with that, seems to have been resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7347