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