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

Serve out unified build locations #2605

Merged
merged 3 commits into from
Aug 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
handle @app_match {
uri strip_prefix /apps/chrome
file_server * {
root /opt/app-root/src/build
index opt/app-root/src/build/index.html
root /opt/app-root/src/build/stable
index opt/app-root/src/build/stable/index.html
browse
}
}
Expand All @@ -27,8 +27,8 @@
handle @beta_match {
uri strip_prefix /beta/apps/chrome
file_server * {
root /opt/app-root/src/build
index opt/app-root/src/build/index.html
root /opt/app-root/src/build/preview
index opt/app-root/src/build/preview/index.html
browse
}
}
Expand All @@ -39,8 +39,8 @@
handle @preview_match {
uri strip_prefix /preview/apps/chrome
file_server * {
root /opt/app-root/src/build
index opt/app-root/src/build/index.html
root /opt/app-root/src/build/preview
index opt/app-root/src/build/preview/index.html
browse
}
}
Expand Down
Loading