Skip to content

refactor: normalize API paths and runtimeConfig env mapping#53

Open
rileychh wants to merge 2 commits intoadd-sponsorship-pagefrom
normalize-api-paths
Open

refactor: normalize API paths and runtimeConfig env mapping#53
rileychh wants to merge 2 commits intoadd-sponsorship-pagefrom
normalize-api-paths

Conversation

@rileychh
Copy link
Copy Markdown
Member

Summary

  • Move API routes from server/routes to server/api to follow Nuxt convention
  • Use Nuxt runtimeConfig env var mapping instead of manual process.env reads

Test plan

  • Verify API routes respond at /api/session/, /api/session/[id], /api/sponsorship/tiers, /api/sponsorship/add-ons, /api/opass
  • Confirm env vars are picked up via NUXT_ prefix convention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant