Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/presets/cloudflare/runtime/plugin.dev.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { NitroAppPlugin } from "nitropack";
import type { NitroAppPlugin } from "nitropack/types";
import type { GetPlatformProxyOptions, PlatformProxy } from "wrangler";

// @ts-ignore
import { useRuntimeConfig, getRequestURL } from "#imports";
import { useRuntimeConfig } from "nitropack/runtime";
import { getRequestURL } from "h3";

const proxy = await _getPlatformProxy().catch((error) => {
console.error("Failed to initialize wrangler bindings proxy", error);
Expand Down