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: {