Skip to content

Commit

Permalink
Serve out unified build locations (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrdrew authored Aug 4, 2023
1 parent 785fdf5 commit ee9fd90
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit ee9fd90

Please sign in to comment.