Skip to content

Host static output at subpath #554

Description

@arkadiusz-swierczek-pm

Hello

I'm looking for a solution that would allow me to build static files for the devtool and deploy them to some hosting under a dynamic path that is known at generation time.

The page doesn't load correctly because the logic redirects the user to the /__devtools/ path. However, if my files are located in the /ci-build-123456 directory, I would expect to be redirected to /ci-build-123456/__devtools/ instead.

I've tried setting the base field in vite.config.ts to ./, ci-build-123456, and ./ci-build-123456, but none of them worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions