mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-24 04:21:25 +00:00
bugfix for filename
This commit is contained in:
parent
1cde59d7d3
commit
89d7d31bfc
@ -12,7 +12,7 @@ function Recorder(option){
|
||||
db;
|
||||
|
||||
option = option || {};
|
||||
if(option.filename){
|
||||
if(option.filename && typeof option.filename == "string"){
|
||||
|
||||
try{
|
||||
if(fs.existsSync(option.filename)){
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "anyproxy",
|
||||
"version": "2.5.1",
|
||||
"version": "2.6.0",
|
||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||
"main": "proxy.js",
|
||||
"bin": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user