From 0a8a94fc894ad75e55584c7bd8fcf683ade4f7dd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 18:22:34 +0000 Subject: [PATCH 1/2] Initial plan From b8be794739d86a7040f681f6574ab83c80754998 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 18:27:38 +0000 Subject: [PATCH 2/2] fix: set Vite base path and drop legacy HTML from deploy Co-authored-by: Paranjayy <120307516+Paranjayy@users.noreply.github.com> --- .github/workflows/deploy.yml | 6 ------ app/vite.config.ts | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f521eea..9ea851e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -45,14 +45,8 @@ jobs: - name: Assemble site run: | mkdir -p _site - - # React app at root — serves as the primary UI cp -r app/dist/. _site/ - # Legacy HTML tools under /legacy/ for backwards compatibility - mkdir -p _site/legacy - cp -r frontend/. _site/legacy/ - - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/app/vite.config.ts b/app/vite.config.ts index 4bd3ee6..1b9d815 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -5,6 +5,7 @@ import tailwindcss from '@tailwindcss/vite' // https://vite.dev/config/ export default defineConfig({ plugins: [react(), tailwindcss()], + base: '/content-extractor/', server: { port: 5173, proxy: {