From b2ae584e6958ae61b665b99ac7f586c8f582fd86 Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Sun, 6 Jul 2025 14:59:13 -0400 Subject: [PATCH] fix: updated nginx config to pass sub directories --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pr.yml | 7 ++----- packages/web/infra/default.conf | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18b60047..7ec10420 100644 --- a/.github/workflows/ci.yml +++ b/.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- diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 98ec0454..aa07282e 100644 --- a/.github/workflows/pr.yml +++ b/.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 diff --git a/packages/web/infra/default.conf b/packages/web/infra/default.conf index 7a5f1103..aff74785 100644 --- a/packages/web/infra/default.conf +++ b/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;