Skip to content

Commit 569b7a7

Browse files
committed
update import assertions to import attributes syntax
1 parent 146e42b commit 569b7a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netlify/edge-functions/yt/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// The JSON lookup gets generated at build time, do not manually edit. See `node-scripts/generate-youtube-redirects.js`
2-
import redirects from './redirects.json' assert { type: 'json' };
2+
import redirects from './redirects.json' with { type: 'json' };
33

44
export default async (request) => {
55
const url = new URL(request.url);

0 commit comments

Comments
 (0)