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.
1 parent 3c8c195 commit b95a7e9Copy full SHA for b95a7e9
1 file changed
vmm/ui/src/templates/app.html
@@ -320,7 +320,11 @@ <h1 class="app-title">dstack-vmm</h1>
320
<div v-if="vm.configuration?.ports?.length" class="port-mappings">
321
<h4>Port Mappings</h4>
322
<div v-for="(port, index) in vm.configuration.ports" :key="index" class="port-item">
323
- <span>{{ port.host_address === '127.0.0.1' ? 'Local' : 'Public' }}</span>
+ <span>{{
324
+ port.host_address === '127.0.0.1'
325
+ ? 'Local'
326
+ : (port.host_address === '0.0.0.0' ? 'Public' : port.host_address)
327
+ }}</span>
328
<span>{{ port.protocol.toUpperCase() }}: {{ port.host_port }} → {{ port.vm_port }}</span>
329
</div>
330
0 commit comments