File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Assets/Shared/Scripts/Model Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,7 @@ public static class Config
10
10
11
11
public const string ENVIRONMENT = "sandbox" ;
12
12
13
- #if ( UNITY_ANDROID && ! UNITY_EDITOR_WIN ) || ( UNITY_IPHONE && ! UNITY_EDITOR_WIN ) || UNITY_STANDALONE_OSX
14
- public const string REDIRECT_URI = "immutablerunner://callback" ;
15
- public const string LOGOUT_REIDIRECT_URI = "immutablerunner://logout" ;
16
- #elif UNITY_WEBGL && ! UNITY_EDITOR
13
+ #if UNITY_WEBGL && ! UNITY_EDITOR
17
14
private static readonly string url = Application . absoluteURL ;
18
15
private static readonly Uri uri = new Uri ( url ) ;
19
16
private static readonly string scheme = uri . Scheme ;
@@ -24,8 +21,8 @@ public static class Config
24
21
public static readonly string REDIRECT_URI = $ "{ scheme } ://{ hostWithPort } { fullPath } callback.html";
25
22
public static readonly string LOGOUT_REIDIRECT_URI = $ "{ scheme } ://{ hostWithPort } { fullPath } logout.html";
26
23
#else
27
- public const string REDIRECT_URI = null ;
28
- public const string LOGOUT_REIDIRECT_URI = null ;
24
+ public const string REDIRECT_URI = "immutablerunner://callback" ;
25
+ public const string LOGOUT_REIDIRECT_URI = "immutablerunner://logout" ;
29
26
#endif
30
27
31
28
public const string CHAIN_NAME = "imtbl-zkevm-testnet" ;
You can’t perform that action at this time.
0 commit comments