Remove minimist
This commit is contained in:
parent
af97bccb0e
commit
5a0cdc2a07
4 changed files with 9 additions and 35 deletions
3
index.js
3
index.js
|
|
@ -1,8 +1,7 @@
|
|||
// development endpoint (use ngrok)
|
||||
|
||||
const http = require('http');
|
||||
const argv = require('minimist')(process.argv.slice(2));
|
||||
const port = parseInt(argv.port || 3000);
|
||||
const port = (process.argv.length >= 2 ? parseInt(process.argv[2]) : 0) || 3000;
|
||||
const record_prefix = 'forward-domain=';
|
||||
|
||||
const {
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue