fix: Mark api-keys page as dynamic to skip static generation

↗ view on GitHub · Railway Agent · 2026-06-28 · 2f484791

## Problem
The frontend build was failing with:
```
Error: supabaseKey is required.
```

The `/account/api-keys` page was being statically generated at build time, which required Supabase credentials during the build process. Since this is a protected page that requires authentication, it should be rendered dynamically at request time instead.

## Solution
Added `export const dynamic = "force-dynamic"` to the api-keys page to skip static generation and render it on-demand when users request it.
Repository mdelias/mike
Author Railway Agent <agent@railway.com>
Authored
Parents 48315960
Stats 1 file changed , +10 , -278
Part of Railway deployment build fixes

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-2f484791.md from inside the repo you want the change in.

⬇ Download capture-commit-2f484791.md