diff options
| author | Adam Soltys <[email protected]> | 2026-11-25 09:50:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-25 09:50:53 -0700 |
| commit | 3a321d4e70d1244224c4643ddac8e96216bfe5f4 (patch) | |
| tree | a4996d39e4aa1acbfae66bc9aefc0a931c2e8a71 /src/routes/(app)/ecash | |
| parent | 032f5038e17afb80cd704b8363b8c3c8688e16b6 (diff) | |
| download | coinos-ui-3a321d4e70d1244224c4643ddac8e96216bfe5f4.tar.gz coinos-ui-3a321d4e70d1244224c4643ddac8e96216bfe5f4.zip | |
Fund page: show history read-only with a "discontinued" notice
Funds are closed, but a fund link fell through to the generic error page.
Send the viewer's token so managers can still open a fund's history, drop
the manage and share controls, and explain that funds are discontinued
instead of showing an error.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6W9CsdxmhFrfaKNVHU
Diffstat (limited to 'src/routes/(app)/ecash')
| -rw-r--r-- | src/routes/(app)/ecash/post/+server.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/routes/(app)/ecash/post/+server.ts b/src/routes/(app)/ecash/post/+server.ts deleted file mode 100644 index bc6cb099..00000000 --- a/src/routes/(app)/ecash/post/+server.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { json } from "@sveltejs/kit"; - -export async function POST({ fetch, request }) { - const { target, payload } = await request.json(); - const res = await fetch(target, { - method: "POST", - body: JSON.stringify(payload), - headers: { "Content-Type": "application/json" }, - }); - return json(res); -} |
