Skip to content

STATIC_URL_PREFIX configuration error #15607

Closed
@blakejia

Description

@blakejia
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions