mirror of
https://github.com/avwo/whistle.git
synced 2026-10-22 01:06:41 +08:00
refactor: refine code
This commit is contained in:
+1
-1
@@ -1082,7 +1082,7 @@ module.exports = function(socket, next, isWebPort) {
|
||||
key = requestCert ? ':' + domain : domain;
|
||||
var plugin;
|
||||
if (useSNI && !socket.isLocalUIUrl) {
|
||||
socket.curUrl = 'https://' + useSNI;
|
||||
socket.curUrl = socket.fullUrl = 'https://' + useSNI;
|
||||
plugin = rules.resolveSNICallback(socket);
|
||||
if (plugin) {
|
||||
if (socket.rules) {
|
||||
|
||||
Reference in New Issue
Block a user