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

Add path support different than root #344

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jlsalvador
Copy link

Add path support different than root

Drone expected that everything will be served on the web root. This patch
enables support from another path than root. The index.html will load the
resources relatives to its path. A window.BASE_URL variable can be set by
the backend to specify the path for routes and the API endpoint.

Fixes #306

Drone expected that everything will be served on the web root. This patch
enables support from another path than root. The `index.html` will load the
resources relatives to its path. A `window.BASE_URL` variable can be set by
the backend to specify the path for routes and the API endpoint.

The next commits will fix hard-coded url and paths.

Fixes #306
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.

[Suggestion] Add Root URL for published resources (CSS/JS)
1 participant