Skip to content

Commit ff9f567

Browse files
committed
wip: swap out paths for urls
1 parent 340cfc0 commit ff9f567

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

edge-runtime/lib/middleware.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Context } from '@netlify/edge-functions'
22

3-
import type { ElementHandlers } from '../../vendor/deno.land/x/htmlrewriter@v1.0.0/src/index.ts'
4-
import { getCookies } from '../../vendor/deno.land/std@0.175.0/http/cookie.ts'
3+
import type { ElementHandlers } from 'https://deno.land/x/htmlrewriter@v1.0.0/src/index.ts'
4+
import { getCookies } from 'https://deno.land/x/std@0.175.0/http/cookie.ts'
55

66
type NextDataTransform = <T>(data: T) => T
77

edge-runtime/lib/response.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import type { Context } from '@netlify/edge-functions'
2-
import {
3-
HTMLRewriter,
4-
type TextChunk,
5-
} from '../../vendor/deno.land/x/htmlrewriter@v1.0.0/src/index.ts'
2+
import { HTMLRewriter, type TextChunk } from 'https://deno.land/x/htmlrewriter@v1.0.0/src/index.ts'
63

74
import { updateModifiedHeaders } from './headers.ts'
85
import type { StructuredLogger } from './logging.ts'

edge-runtime/lib/routing.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* Some types have been re-implemented to be more compatible with Deno or avoid chains of dependent files
66
*/
77

8-
import type { Key } from '../vendor/deno.land/x/path_to_regexp@v6.2.1/index.ts'
8+
import type { Key } from 'https://deno.land/x/path_to_regexp@v6.2.1/index.ts'
99

10-
import { compile, pathToRegexp } from '../vendor/deno.land/x/path_to_regexp@v6.2.1/index.ts'
11-
import { getCookies } from '../vendor/deno.land/std@0.175.0/http/cookie.ts'
10+
import { compile, pathToRegexp } from 'https://deno.land/x/path_to_regexp@v6.2.1/index.ts'
11+
import { getCookies } from 'https://deno.land/x/std@0.175.0/http/cookie.ts'
1212

1313
/*
1414
┌─────────────────────────────────────────────────────────────────────────┐

0 commit comments

Comments
 (0)