Commit 7939867
committed
fix: prevent cache sharing across different user API keys in Fireworks models endpoint
Replace next.revalidate with cache: 'no-store' to prevent Next.js data cache from serving one user's API key response to another user. The data cache keys by URL only, not headers, so different BYOK keys would incorrectly share cached responses.1 parent 4affc19 commit 7939867
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments