diff --git a/playlet-lib/src/components/Web/Dial/DialServer.bs b/playlet-lib/src/components/Web/Dial/DialServer.bs index 431d0c99..348100e6 100644 --- a/playlet-lib/src/components/Web/Dial/DialServer.bs +++ b/playlet-lib/src/components/Web/Dial/DialServer.bs @@ -196,7 +196,7 @@ function CreateSsdpResponse(ssdp as object, webServer as object) as string msg = `HTTP/1.1 200 OK\r\n` msg += `LOCATION: ${webServerAddress}/dial/${m.deviceId}/device-description.xml\r\n` msg += `ST: ${ssdp.headers.ST}\r\n` - msg += `SERVER: Playlet Lib Dial Server ${libVersion} \r\n` + msg += `SERVER: Playlet Dial Server ${libVersion} \r\n` msg += `USN: uuid:${m.deviceId}::${ssdp.headers.ST}\r\n` msg += `CACHE-CONTROL: no-cache, no-store, max-age=0, must-revalidate\r\n` msg += `EXT: \r\n` diff --git a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs index 0819838d..4e2f3431 100644 --- a/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs +++ b/playlet-lib/src/components/Web/PlayletWebServer/Middleware/DialRouter.bs @@ -20,7 +20,7 @@ namespace Http m.routes.push({ method: "DELETE", path: `/dial/${m.deviceId}/YouTube/run`, router: m, func: "CloseChannel" }) end function - ' @get("/dial/device-description.xml") + ' @get("/dial/:device-id/device-description.xml") function GetDialManifest(context as object) as boolean response = context.response @@ -33,7 +33,7 @@ namespace Http return true end function - ' @get("/dial/YouTube") + ' @get("/dial/:device-id/YouTube") function GetDialYouTube(context as object) as boolean response = context.response @@ -46,7 +46,7 @@ namespace Http return true end function - ' @post("/dial/YouTube") + ' @post("/dial/:device-id/YouTube") function PostDialYouTube(context as object) as boolean request = context.request response = context.response @@ -100,7 +100,7 @@ namespace Http return true end function - ' @delete("/dial/YouTube/run") + ' @delete("/dial/:device-id/YouTube/run") function CloseChannel(context as object) as boolean response = context.response