You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
321 B
8 lines
321 B
import { error } from '@sveltejs/kit'; |
|
import type { RequestHandler } from './$types'; |
|
|
|
// Catch-all route for /uploads/* - return 404 for missing uploads |
|
// This handles external Nostr content that references non-existent uploads |
|
export const GET: RequestHandler = async () => { |
|
throw error(404, 'File not found'); |
|
};
|
|
|