Skip to content

Commit 90226b8

Browse files
committed
fix: change "h://_" to "http://_"
1 parent 95cf451 commit 90226b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/h3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const H3Core = /* @__PURE__ */ (() => {
149149
opts?: RouteOptions,
150150
): H3Type {
151151
const _method = (method || "").toUpperCase();
152-
route = new URL(route, "h://_").pathname;
152+
route = new URL(route, "http://_").pathname;
153153
this._addRoute({
154154
method: _method as HTTPMethod,
155155
route,

0 commit comments

Comments
 (0)