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.
localhost
1 parent f740f3d commit c9f4112Copy full SHA for c9f4112
src/caddy/index.ts
@@ -164,7 +164,7 @@ export class CaddyInstant {
164
* @returns
165
*/
166
async run(source: string, target: string, options?: Partial<RunOptions>) {
167
- source = source.replace('0.0.0.0', '127.0.0.1').replace('localhost', '127.0.0.1')
+ source = source.replace('0.0.0.0', '127.0.0.1')
168
const {
169
restore = true,
170
base = '/',
src/index.ts
@@ -138,7 +138,7 @@ export const unpluginFactory: UnpluginFactory<Options> = options => ({
138
// })
139
140
const devServer = {
141
- host: '127.0.0.1',
+ host: 'localhost',
142
port: 8080,
143
...compiler.options.devServer,
144
// @ts-expect-error vuecli
0 commit comments