Skip to content

Commit 69327e6

Browse files
authored
fix: replace netlify:edge identifier with full URL (#1500)
1 parent 7cf0105 commit 69327e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugin/src/templates/edge/ipx.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Accepts } from 'https://deno.land/x/[email protected]/mod.ts'
2-
import type { Context } from 'netlify:edge'
2+
import type { Context } from 'https://edge.netlify.com'
33
// Available at build time
44
import imageconfig from './imageconfig.json' assert { type: 'json' }
55

plugin/src/templates/edge/runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Context } from 'netlify:edge'
1+
import type { Context } from 'https://edge.netlify.com'
22

33
import edgeFunction from './bundle.js'
44
import { buildResponse } from './utils.ts'

plugin/src/templates/edge/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Context } from 'netlify:edge'
1+
import type { Context } from 'https://edge.netlify.com'
22
import { ElementHandlers, HTMLRewriter } from 'https://deno.land/x/[email protected]/index.ts'
33

44
export interface FetchEventResult {

0 commit comments

Comments
 (0)