From 081bb515143b29206aebc8102bfeabb8ea121a2e Mon Sep 17 00:00:00 2001 From: Paul Vecchio Date: Mon, 9 Dec 2024 08:13:50 -0800 Subject: [PATCH] in progress --- .github/workflows/static-web.yml | 0 apps/shelter-web/vite.config.mts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/static-web.yml diff --git a/.github/workflows/static-web.yml b/.github/workflows/static-web.yml new file mode 100644 index 000000000..e69de29bb diff --git a/apps/shelter-web/vite.config.mts b/apps/shelter-web/vite.config.mts index 0088f1f3c..5f7f98bb4 100644 --- a/apps/shelter-web/vite.config.mts +++ b/apps/shelter-web/vite.config.mts @@ -4,10 +4,10 @@ import react from '@vitejs/plugin-react'; import { defineConfig } from 'vite'; export default defineConfig(() => { - const branchName = process.env.BRANCH_NAME || '/'; + const basePath = process.env.BRANCH_NAME || '/'; return { root: __dirname, - base: branchName, + base: basePath, cacheDir: '../../node_modules/.vite/apps/shelter-web', server: {