Browsersync 从 url 中删除端口

wpu*_*man 5 webpack browser-sync

我正在尝试从 Browsersync(使用 webpack)中的 url 中删除端口号。

new BrowserSyncPlugin({
    host: 'test.local',
    proxy: 'https://test.local',
    open: 'external',
    files: ['**/*.css', '**/*.php'],
    port: 80,
}),
Run Code Online (Sandbox Code Playgroud)

此配置打开https://test.local:81

当我删除端口参数时,它会打开https://test.local:3000

无论如何,它会在 url 末尾添加端口号。没有端口号可以吗?像这样https://test.local