Skip to content
This repository was archived by the owner on Sep 5, 2022. It is now read-only.

Commit a9844c6

Browse files
committed
Added regions for joining a node from LB
1 parent c5c2750 commit a9844c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LRMTransportRequests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ IEnumerator RelayConnect()
2525
using (UnityWebRequest webRequest = UnityWebRequest.Get(url))
2626
{
2727
// Request and wait for the desired page.
28+
webRequest.SetRequestHeader("x-Region", ((int)region).ToString());
2829
yield return webRequest.SendWebRequest();
2930
var result = webRequest.downloadHandler.text;
3031
#if UNITY_2020_1_OR_NEWER

0 commit comments

Comments
 (0)