From 3a321d4e70d1244224c4643ddac8e96216bfe5f4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 25 Nov 2026 09:50:53 -0700 Subject: 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 Claude-Session: https://claude.ai/code/session_01VMan6W9CsdxmhFrfaKNVHU --- src/routes/(app)/ecash/post/+server.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/routes/(app)/ecash/post/+server.ts (limited to 'src/routes/(app)/ecash/post/+server.ts') 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); -} -- cgit v1.2.3