Skip to content

Make the extensions gallery deployment origin configurable #2

Description

@coderabbitai

Summary

Make the deployment origin for the self-hosted extensions gallery configurable.

The pinned extensions/src upstream production build currently generates extension, documentation, and sample URLs with https://extensions.turbowarp.org/. The Dockerfile alone cannot change this behavior.

Rationale

A self-hosted gallery must keep gallery links on its configured deployment origin. Links to the upstream service can give users inconsistent content and navigation.

Affected area

  • Upstream turbowarp/extensions production build configuration
  • The extensions/src submodule integration in this repository

Required changes

Provide an upstream configuration option, maintain a patch, or use a fork so the production build receives a deployment origin. Relative URLs are also acceptable where they preserve existing production behavior.

Acceptance criteria

  • The build supports a configurable deployment origin, or generates suitable relative links.
  • Generated extension, documentation, and sample URLs use the configured origin or relative links.
  • The default upstream production behavior remains unchanged when no self-hosted origin is configured.

Backlinks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions