You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/builders/dev-server/schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@
73
73
},
74
74
"allowedHosts": {
75
75
"type": "array",
76
-
"description": "List of hosts that are allowed to access the dev server. This option has no effect when using the 'application' or other esbuild-based builders.",
76
+
"description": "List of hosts that are allowed to access the dev server.",
constfirstUpdate=originalContents.replace('You can also disable this overlay by setting','');
236
-
(0,node_assert_1.default)(originalContents!==firstUpdate,'Failed to update Vite client error overlay text. (1)');
237
-
constsecondUpdate=firstUpdate.replace(
238
-
// eslint-disable-next-line max-len
239
-
'<code part="config-option-name">server.hmr.overlay</code> to <code part="config-option-value">false</code> in <code part="config-file-name">${hmrConfigName}.</code>','');
240
-
(0,node_assert_1.default)(firstUpdate!==secondUpdate,'Failed to update Vite client error overlay text. (2)');
241
-
returnsecondUpdate;
232
+
constupdatedContents=originalContents.replace(`"You can also disable this overlay by setting ",
0 commit comments