Skip to content

Commit 84f313a

Browse files
committed
chore: update
1 parent a18f0c2 commit 84f313a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/core/src/node/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export function normalizeDevToolsConfig(
2828
enabled: config === true || !!(config && config.enabled),
2929
config: {
3030
...(isObject(config) ? config : {}),
31-
clientAuth: isObject(config) ? config.clientAuth : true,
32-
host: isObject(config) ? (config?.host ?? host) : host,
31+
clientAuth: isObject(config) ? (config.clientAuth ?? true) : true,
32+
host: isObject(config) ? (config.host ?? host) : host,
3333
},
3434
}
3535
}

test/exports/@vitejs/devtools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
createDevToolsContext: function
33
createDevToolsMiddleware: function
44
DevTools: function
5+
normalizeDevToolsConfig: function
56
./cli-commands:
67
build: function
78
start: function

0 commit comments

Comments
 (0)