Browse Source

fix: updated nginx config to pass sub directories

pull/692/head
Dan Ditomaso 1 year ago
committed by GitHub
parent
commit
b2ae584e69
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      .github/workflows/ci.yml
  2. 7
      .github/workflows/pr.yml
  3. 2
      packages/web/infra/default.conf

4
.github/workflows/ci.yml

@ -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-

7
.github/workflows/pr.yml

@ -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

2
packages/web/infra/default.conf

@ -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;

Loading…
Cancel
Save