Brozy123 commited on
Commit
79737f6
·
verified ·
1 Parent(s): a693dd4

Update network_fix.js

Browse files
Files changed (1) hide show
  1. network_fix.js +1 -0
network_fix.js CHANGED
@@ -85,6 +85,7 @@ function applyAdvancedFixes() {
85
  let targetOpts = { ...opts };
86
  if (isDiscord(opts.hostname) && !isAsset(opts.hostname)) {
87
  console.log(`[NetworkFix] Hijacking undici connection: ${opts.hostname} -> ${target_domain}`);
 
88
  targetOpts.servername = target_domain;
89
  }
90
 
 
85
  let targetOpts = { ...opts };
86
  if (isDiscord(opts.hostname) && !isAsset(opts.hostname)) {
87
  console.log(`[NetworkFix] Hijacking undici connection: ${opts.hostname} -> ${target_domain}`);
88
+ targetOpts.hostname = target_domain;
89
  targetOpts.servername = target_domain;
90
  }
91