Skip to content

Add support for static build-time configured URL - #146

Draft
fooker wants to merge 1 commit into
rclone:mainfrom
hlsb-fulda:pr/fixed-url
Draft

fooker wants to merge 1 commit into
rclone:mainfrom
hlsb-fulda:pr/fixed-url

Conversation

@fooker

@fooker fooker commented Oct 2, 2026

Copy link
Copy Markdown

This change allows to specify the Rclone RC URL to be configured by a build flag. Set the environment variable VITE_RC_URL to enable static URL behavior.

With this enabled, the URL from the query is ignored and the provided URL is used for all connections. This helps to deploy the UI as part of a permanent installation where the UI and the Rclone API is served by a reverse proxy.

disclaimer: My experience with typescript is practically zero. But I think this is worth sharing and discussing. I'd be happy to refine this PR with some help of somebody that knows frameworks and existing code better.

This change allows to specify the Rclone RC URL to be configured by a
build flag. Set the environment variable `VITE_RC_URL` to enable static
URL behavior.

With this enabled, the URL from the query is ignored and the provided
URL is used for all connections. This helps to deploy the UI as part of
a permanent installation where the UI and the Rclone API is served by a
reverse proxy.
@fooker
fooker marked this pull request as draft October 2, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant