Skip to content
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

STATIC_URL_PREFIX configuration error #15607

Closed
3 of 6 tasks
blakejia opened this issue Apr 24, 2021 · 1 comment
Closed
3 of 6 tasks

STATIC_URL_PREFIX configuration error #15607

blakejia opened this issue Apr 24, 2021 · 1 comment
Labels

Comments

@blakejia
Copy link

blakejia commented Apr 24, 2021

  • Gitea version (or commit ref): 1.14.1
  • Git version: 2.30.2
  • Operating system: docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

When I use this field STATIC_URL_PREFIX in app.ini, the following log appears in the browser.

construct 'SharedWorker': Script at '[STATIC_URL_PREFIX]/js/eventsource.sharedworker.js' cannot be accessed from origin '[ROOT_URL]'.

Screenshots

image

@noerw
Copy link
Member

noerw commented May 14, 2021

This should be fixed by #15834

@noerw noerw closed this as completed May 14, 2021
@noerw noerw added the type/bug label May 14, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants