pg-minimal-repro

This repo exists to investigate why routes for an Architect-powered SPA aren't resolving as expected

Steps to reproduce:

  1. Clone and install dependencies
  2. Run npm run build:app to compile the Svelte source in /app to the /public directory
  3. Run npm run dev:api to spin up the arc sandbox
  4. Navigate to http://localhost:3333 and click the links to load /app/app-1 or app-2.
  5. Refresh to verify that routes not defined in app.arc are correctly handled by index.html
  6. Deploy (or visit this URL) and attempt to navigate: links can be followed within the app but deep linking to the resource fails because /app/app-1 is routed to /app/app-1/index.html

Example URLs