Commit 789146f7 by chenjinjing

no message

parent f4ce806f
...@@ -5,7 +5,7 @@ import { get } from "../util/request"; ...@@ -5,7 +5,7 @@ import { get } from "../util/request";
export async function getData(req, res) { export async function getData(req, res) {
let cameraIndexCode = req.body.cameraIndexCode; let cameraIndexCode = req.body.cameraIndexCode;
let url = 'http://192.168.1.105:8081/previewWS?cameraIndexCode=' + cameraIndexCode; let url = 'https://192.168.1.105/jk/previewWS?cameraIndexCode=' + cameraIndexCode;
let previewInfo = await get(url); let previewInfo = await get(url);
res.success(previewInfo); res.success(previewInfo);
......
...@@ -17,7 +17,7 @@ async function lanuch() { ...@@ -17,7 +17,7 @@ async function lanuch() {
httpServer.createServer( systemConfig.port ); httpServer.createServer( systemConfig.port );
console.log('This indicates that the server is started successfully.'); console.log('This indicates that the server is started successfully.');
test(); // test();
} }
lanuch(); lanuch();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment