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:
path: |
~/.cache/deno
./deno.lock
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }}
packages/web/deno.lock
key: ${{ runner.os }}-deno-${{ hashFiles('packages/web/deno.lock') }}
restore-keys: |
${{ runner.os }}-deno-

7
.github/workflows/pr.yml

@ -1,9 +1,6 @@
name: Push to Main CI
name: Pull Requests CI
on:
push:
branches:
- main
on: pull_request
permissions:
contents: write

2
packages/web/infra/default.conf

@ -6,7 +6,7 @@ server {
index index.html index.htm;
location / {
try_files $uri $uri/ =404;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;

Loading…
Cancel
Save