fix: path
parent
ec473ce0f9
commit
c0fcd3389e
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
require('../src')
|
require('./src')
|
||||||
|
|
|
@ -3,7 +3,7 @@ const DevSidecar = require('@docmirror/dev-sidecar')
|
||||||
const jsonApi = require('@docmirror/mitmproxy/src/json')
|
const jsonApi = require('@docmirror/mitmproxy/src/json')
|
||||||
|
|
||||||
// 启动服务
|
// 启动服务
|
||||||
const mitmproxyPath = './src/mitmproxy'
|
const mitmproxyPath = './mitmproxy'
|
||||||
async function startup () {
|
async function startup () {
|
||||||
const banner = fs.readFileSync('./src/banner.txt')
|
const banner = fs.readFileSync('./src/banner.txt')
|
||||||
console.log(banner.toString())
|
console.log(banner.toString())
|
||||||
|
|
Loading…
Reference in New Issue