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"
|
MANAGED_PORTAL_REGISTRY_PATH: "/app/managed_services.yaml"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
ports:
|
||||||
|
- "31000-31255:31000-31255"
|
||||||
networks:
|
networks:
|
||||||
- managed-portal
|
- managed-portal
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ async function handleScan() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function openDevice(row) {
|
function openDevice(row) {
|
||||||
const url = row?.proxy_url || row?.direct_url;
|
const url = row?.direct_url || row?.proxy_url;
|
||||||
if (!url) {
|
if (!url) {
|
||||||
ElMessage.error("设备打开地址无效");
|
ElMessage.error("设备打开地址无效");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user