mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
bugfix for issue #29
This commit is contained in:
@@ -98,7 +98,7 @@ function webInterface(config){
|
||||
ipAddress : ipAddress || "127.0.0.1"
|
||||
};
|
||||
|
||||
if(req.url == "/"){
|
||||
if( url.parse(req.url).pathname == "/"){
|
||||
res.setHeader("Content-Type", "text/html");
|
||||
res.end(juicer(indexTpl, opt));
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user