refactor: proxy param

This commit is contained in:
Mo
2023-02-22 10:38:18 -06:00
parent 465b2741fb
commit a2df09fb5b
+3 -1
View File
@@ -1,7 +1,9 @@
import * as http from 'http'
import * as httpProxy from 'http-proxy'
const proxy = httpProxy.createProxyServer({})
const proxy = httpProxy.createProxyServer({
secure: true,
})
proxy.on('error', (error, req, res) => {
console.error(error.message)