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

Support path prefix #1714

Merged
merged 11 commits into from
Apr 29, 2023
Merged

Support path prefix #1714

merged 11 commits into from
Apr 29, 2023

Conversation

qwerty287
Copy link
Contributor

closes #1636
closes #1429
supersedes #1586

Uses a different approach: just take the index.html compiled by vite and replace the paths to js and other files using regex. This is not compatible with the dev proxy which is also the reason why we can't use go templates for this.

@qwerty287 qwerty287 added the enhancement improve existing features label Apr 22, 2023
@qwerty287 qwerty287 added this to the 1.0.0 milestone Apr 22, 2023
@qwerty287 qwerty287 requested a review from a team April 22, 2023 08:50
@woodpecker-bot
Copy link
Collaborator

woodpecker-bot commented Apr 22, 2023

Deployment of preview was successful: https://woodpecker-ci-woodpecker-pr-1714.surge.sh

server/web/web.go Outdated Show resolved Hide resolved
Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, beside lint issue

server/web/web.go Show resolved Hide resolved
@qwerty287 qwerty287 requested a review from 6543 April 29, 2023 15:09
@6543 6543 enabled auto-merge (squash) April 29, 2023 15:15
@6543 6543 merged commit b90e790 into woodpecker-ci:master Apr 29, 2023
spantaleev added a commit to devture/com.devture.ansible.role.woodpecker_ci_server that referenced this pull request Apr 29, 2023
Still not part of a tagged Woodpecker CI release.
Preparing for the next one.

Related to woodpecker-ci/woodpecker#1714
@qwerty287 qwerty287 deleted the root-url branch April 30, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make serving under a subpath work Improve ingress/reverse proxy support
3 participants