diff --git a/Source/HTTPServer.js b/Source/HTTPServer.js index af9fb31..147bb97 100644 --- a/Source/HTTPServer.js +++ b/Source/HTTPServer.js @@ -20,10 +20,6 @@ server.addListener("error",(err)=> { }) exports.http = server; -app.get("/",(req,res)=>{ - res.send("pid : " + process.pid) -}) - app.get("/script",(request, response)=>{ response.sendFile(resolve("./script/index.js")) }); @@ -36,6 +32,9 @@ app.get("/webrtc.js",(request, response)=>{ app.get("/webrtc.adapter.js",(request, response)=>{ response.sendFile(resolve("./script/webrtc.adapter.js")) }); +app.get("/",(request, response)=>{ + response.sendFile(resolve("./script/index.html")) +}); app.get("*",(request, response)=>{ response.sendFile(resolve("./script/status.xml")) }); \ No newline at end of file diff --git a/script/index.html b/script/index.html new file mode 100644 index 0000000..e8805ae --- /dev/null +++ b/script/index.html @@ -0,0 +1,643 @@ + + +
+ + + +