From 6eb2d86b51e1feef36e0611742e5e5b9bb4a35e5 Mon Sep 17 00:00:00 2001 From: Francis Turmel Date: Tue, 4 Aug 2026 14:46:08 -0400 Subject: [PATCH] update import assertions to import attributes syntax --- netlify/edge-functions/yt/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify/edge-functions/yt/index.mjs b/netlify/edge-functions/yt/index.mjs index a504fe436..4d5823048 100644 --- a/netlify/edge-functions/yt/index.mjs +++ b/netlify/edge-functions/yt/index.mjs @@ -1,5 +1,5 @@ // The JSON lookup gets generated at build time, do not manually edit. See `node-scripts/generate-youtube-redirects.js` -import redirects from './redirects.json' assert { type: 'json' }; +import redirects from './redirects.json' with { type: 'json' }; export default async (request) => { const url = new URL(request.url);