fix: open web devices via direct forwarder
This commit is contained in:
@@ -19,6 +19,8 @@ services:
|
||||
MANAGED_PORTAL_REGISTRY_PATH: "/app/managed_services.yaml"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- "31000-31255:31000-31255"
|
||||
networks:
|
||||
- managed-portal
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ async function handleScan() {
|
||||
}
|
||||
|
||||
function openDevice(row) {
|
||||
const url = row?.proxy_url || row?.direct_url;
|
||||
const url = row?.direct_url || row?.proxy_url;
|
||||
if (!url) {
|
||||
ElMessage.error("设备打开地址无效");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user