summaryrefslogtreecommitdiff
path: root/app/routes.ts
blob: c0096e174cca61b2f20209709d20fc6aa05e7394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { type RouteConfig, index, route, prefix } from "@react-router/dev/routes";

export default [
  index("routes/index.tsx"),
  ...prefix("events", [
    index("routes/events._index.tsx"),
    route(":id", "routes/events.$id.tsx"),
  ]),
  route("venues", "routes/venues.tsx"),
  route("api/scrape", "routes/api.scrape.ts"),
  route("api/scrape-status", "routes/api.scrape-status.ts"),
] satisfies RouteConfig;