Browse Source
fix: updated nginx config to pass sub directories
pull/692/head
Dan Ditomaso
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
5 additions and
8 deletions
-
.github/workflows/ci.yml
-
.github/workflows/pr.yml
-
packages/web/infra/default.conf
|
|
@ -29,8 +29,8 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
path: | |
|
|
path: | |
|
|
~/.cache/deno |
|
|
~/.cache/deno |
|
|
./deno.lock |
|
|
packages/web/deno.lock |
|
|
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }} |
|
|
key: ${{ runner.os }}-deno-${{ hashFiles('packages/web/deno.lock') }} |
|
|
restore-keys: | |
|
|
restore-keys: | |
|
|
${{ runner.os }}-deno- |
|
|
${{ runner.os }}-deno- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,9 +1,6 @@ |
|
|
name: Push to Main CI |
|
|
name: Pull Requests CI |
|
|
|
|
|
|
|
|
on: |
|
|
on: pull_request |
|
|
push: |
|
|
|
|
|
branches: |
|
|
|
|
|
- main |
|
|
|
|
|
|
|
|
|
|
|
permissions: |
|
|
permissions: |
|
|
contents: write |
|
|
contents: write |
|
|
|
|
|
@ -6,7 +6,7 @@ server { |
|
|
index index.html index.htm; |
|
|
index index.html index.htm; |
|
|
|
|
|
|
|
|
location / { |
|
|
location / { |
|
|
try_files $uri $uri/ =404; |
|
|
try_files $uri $uri/ /index.html; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
error_page 500 502 503 504 /50x.html; |
|
|
error_page 500 502 503 504 /50x.html; |
|
|
|