Manifest: property 'start_url' ignored, should be same origin as document. #9112

Closed
opened 2025-11-02 08:29:42 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @turtlebasket on GitHub (Jun 22, 2022).

Description

The specific place where I'm noticing this issue is in the following homescreen widget:

Screen Shot 2022-06-22 at 1 02 27 PM

I have my gitea instance running behind a nginx reverse proxy under a subdomain of my personal web domain, and am noticing that the repo links on the homepage are redirecting me to localhost:3000/<user>/<repo_name> instead of the <gitea instance UR>/<user>/<repo_name>.

Manifest: property 'start_url' ignored, should be same origin as document shows up in the JS console on the homescreen, and I think it's probably related.

Screen Shot 2022-06-22 at 1 01 49 PM

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

https://user-images.githubusercontent.com/32886427/175126526-b318083c-91bb-4b11-943b-498f357bc68a.mp4

Git Version

No response

Operating System

Ubuntu Server 20.04 LTS

How are you running Gitea?

  • Gitea Snap on Ubuntu Server 20.04 LTS
  • Behind nginx reverse proxy under subdomain, using Cloudflare DNS

Database

SQLite

Originally created by @turtlebasket on GitHub (Jun 22, 2022). ### Description The specific place where I'm noticing this issue is in the following homescreen widget: <img width="422" alt="Screen Shot 2022-06-22 at 1 02 27 PM" src="https://user-images.githubusercontent.com/32886427/175125889-5c27dcb6-c573-4146-8cf0-8986fcae11cf.png"> I have my gitea instance running behind a nginx reverse proxy under a subdomain of my personal web domain, and am noticing that the repo links on the homepage are redirecting me to localhost:3000/\<user\>/\<repo_name\> instead of the \<gitea instance UR>/\<user\>/\<repo_name\>. `Manifest: property 'start_url' ignored, should be same origin as document` shows up in the JS console on the homescreen, and I think it's probably related. <img width="523" alt="Screen Shot 2022-06-22 at 1 01 49 PM" src="https://user-images.githubusercontent.com/32886427/175125789-fd2140f3-86f5-4dcd-9bde-0bc8b3b98504.png"> ### Gitea Version 1.16.8 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots https://user-images.githubusercontent.com/32886427/175126526-b318083c-91bb-4b11-943b-498f357bc68a.mp4 ### Git Version _No response_ ### Operating System Ubuntu Server 20.04 LTS ### How are you running Gitea? - Gitea Snap on Ubuntu Server 20.04 LTS - Behind nginx reverse proxy under subdomain, using Cloudflare DNS ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:29:42 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 23, 2022):

@wxiaoguang commented on GitHub (Jun 23, 2022): * https://github.com/go-gitea/gitea/issues/19345
Author
Owner

@turtlebasket commented on GitHub (Jun 23, 2022):

Ah, I see this bug has been filed before. Will set the ROOT_URL field in my server config and close this issue. ;)

@turtlebasket commented on GitHub (Jun 23, 2022): Ah, I see this bug has been filed before. Will set the ROOT_URL field in my server config and close this issue. ;)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9112