Skip to content

fix(inspector): default auth based on host#183

Merged
antfu merged 1 commit into
antfu:mainfrom
antfubot:fix/host-dependent-auth
Jul 21, 2026
Merged

fix(inspector): default auth based on host#183
antfu merged 1 commit into
antfu:mainfrom
antfubot:fix/host-dependent-auth

Conversation

@antfubot

Copy link
Copy Markdown
Contributor

Default the interactive authentication gate according to server exposure: local bindings start without authentication, while wildcard IPv4 and IPv6 bindings remain protected. Explicit --auth and --no-auth flags continue to override the default.

This also lets local browser automation use the normal CLI defaults.

Created with the help of an agent.

@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/node-modules-inspector@183
npm i https://pkg.pr.new/node-modules-tools@183

commit: d1460e2

@antfu
antfu merged commit 003355c into antfu:main Jul 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants