From 4bad013c66242c10b0e30fbc80213ac62cc729ad Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 21 Feb 2024 18:47:32 -0600 Subject: [PATCH] Restore presigned url route to edge runtime --- src/app/api/storage/presigned-url/[key]/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/api/storage/presigned-url/[key]/route.ts b/src/app/api/storage/presigned-url/[key]/route.ts index 7d01b2af..da506a22 100644 --- a/src/app/api/storage/presigned-url/[key]/route.ts +++ b/src/app/api/storage/presigned-url/[key]/route.ts @@ -10,6 +10,8 @@ import { import { CURRENT_STORAGE } from '@/site/config'; import { getSignedUrl } from '@aws-sdk/s3-request-presigner'; +export const runtime = 'edge'; + export async function GET( _: Request, { params: { key } }: { params: { key: string } },