We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6f271 commit 46d3f0eCopy full SHA for 46d3f0e
packages/next/server/web/next-url.ts
@@ -245,6 +245,23 @@ export class NextURL {
245
return this.href
246
}
247
248
+ [Symbol.for('edge-runtime.inspect.custom')]() {
249
+ return {
250
+ href: this.href,
251
+ origin: this.origin,
252
+ protocol: this.protocol,
253
+ username: this.username,
254
+ password: this.password,
255
+ host: this.host,
256
+ hostname: this.hostname,
257
+ port: this.port,
258
+ pathname: this.pathname,
259
+ search: this.search,
260
+ searchParams: this.searchParams,
261
+ hash: this.hash,
262
+ }
263
264
+
265
clone() {
266
return new NextURL(String(this), this[Internal].options)
267
0 commit comments