magpie/frontend
Alan Weinstock 8ea4baa915 fix(ui): sub-path routing and API proxy for /magpie/ base URL
- spa_server.py: strip /magpie prefix before API check and file lookup;
  all HTTP methods call _normalise_path() first so /magpie/api/v1/* proxies
  correctly and /magpie/assets/* resolve against the dist root
- manage.sh: pass --base /magpie to spa_server.py so the handler knows
  the deployment prefix
- main.ts: pass import.meta.env.BASE_URL to createWebHistory so Vue Router
  strips the /magpie prefix before matching routes

Without these fixes, assets returned index.html (MIME type error), API
calls returned HTML instead of JSON (stats.posts undefined), and router
routes never matched (matched: []).

Closes: #12
2026-06-15 11:50:12 -07:00
..
src fix(ui): sub-path routing and API proxy for /magpie/ base URL 2026-06-15 11:50:12 -07:00
index.html feat(#7,#10): signal crawler -- Reddit + Lemmy community monitoring 2026-04-22 11:00:14 -07:00
package-lock.json feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
package.json feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
tsconfig.json feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
vite.config.ts feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00