Skip to content

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