Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit aaafa9c

Browse files
committed
change pac server to nil to prevent it from showing in Safari
1 parent 6f4b77f commit aaafa9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

V2RayX/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ -(void)updateSystemProxy {
339339
if (proxyMode == 1) { // pac mode
340340
// close system proxy first to refresh pac file
341341
if (![webServer isRunning]) {
342-
[webServer startWithPort:8070 bonjourName:@"V2RayXPacServer"];
342+
[webServer startWithPort:8070 bonjourName:nil];
343343
}
344344
runCommandLine(kV2RayXHelper, @[@"off"]);
345345
arguments = @[@"auto"];

0 commit comments

Comments
 (0)