We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe2136b commit 4c2ec7cCopy full SHA for 4c2ec7c
src/built-in-plugins/command-docs/plugin/dev-docs.ts
@@ -45,7 +45,7 @@ export async function devDocs() {
45
publicPath: `${pri.sourceConfig.useHttps ? 'https' : 'http'}://${pri.sourceConfig.host}:${freePort}`,
46
autoOpenBrowser: true,
47
hot: pri.sourceConfig.hotReload,
48
- devUrl: pri.sourceConfig.host,
+ devUrl: pri.sourceConfig.devUrl || pri.sourceConfig.host,
49
entryPath: docsEntryPath,
50
devServerPort: freePort,
51
htmlTemplatePath: path.join(__dirname, '../../../../template-project.ejs'),
0 commit comments