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

refactor: Allow superset to be deployed under a prefixed URL #30134

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Oct 15, 2024

  1. Use Flask.url_for when constructing redirect/resource paths.

    When ENABLE_PROXY_FIX is configured url_for will ensure any
    base prefix is correctly dealt with.
    martyngigg committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    19279f1 View commit details
    Browse the repository at this point in the history
  2. Introduce a BASE_PATH variable to the frontend.

    Allows an application prefix to be defined separately to the
    URL prefix used for the static assets. Webpack looks for a BASE_PATH
    environment variable and injects this into the built assets.
    martyngigg committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    aa3eaaf View commit details
    Browse the repository at this point in the history
  3. Add ASSET_BASE_URL and BASE_PATH arguments to Docker build.

    Docker version of superset_config sets ENABLE_PROXY_FIX=True
    if BASE_PATH not empty.
    martyngigg committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3332ccf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd0eb53 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f094b72 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe3b01a View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    915f7f2 View commit details
    Browse the repository at this point in the history