Skip to content

Commit

Permalink
Merge pull request #342 from agsh/fix-code-cleanup
Browse files Browse the repository at this point in the history
fix: cleanup unnecessary libraries
  • Loading branch information
agsh authored Oct 27, 2024
2 parents 4a8ec35 + 95d3a82 commit 08fcb39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
7 changes: 0 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"keypress": "^0.2.1",
"mocha": "^10.0.0",
"nimble": "^0.0.2",
"nyc": "^15.1.0",
"ip": "^2.0.1"
"nyc": "^15.1.0"
}
}
10 changes: 4 additions & 6 deletions startServerMockup.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
// Run the Server Mockup

let ip = require('ip');

let serverHostname = ip.address();
let serverPort = '10101';
let allowDiscovery = 'false';
const serverHostname = 'localhost';
const serverPort = '10101';

process.env['HOSTNAME'] = serverHostname;
process.env['PORT'] = serverPort;
process.env['VERBOSE'] = 'true';

console.log('Starting Server Mockup at http://' + serverHostname + ':' + serverPort + '/onvif/device_service');
console.log(`Starting Server Mockup at http://${serverHostname}:${serverPort}/onvif/device_service`);
console.log('BTW you can find full-functional server here: https://www.happytimesoft.com/products/onvif-server/index.html');

let serverMockup = require('./test/serverMockup.js')

Expand Down

0 comments on commit 08fcb39

Please sign in to comment.