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
1010
1111 public const string ENVIRONMENT = "sandbox" ;
1212
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
1714 private static readonly string url = Application . absoluteURL ;
1815 private static readonly Uri uri = new Uri ( url ) ;
1916 private static readonly string scheme = uri . Scheme ;
@@ -24,8 +21,8 @@ public static class Config
2421 public static readonly string REDIRECT_URI = $ "{ scheme } ://{ hostWithPort } { fullPath } callback.html";
2522 public static readonly string LOGOUT_REIDIRECT_URI = $ "{ scheme } ://{ hostWithPort } { fullPath } logout.html";
2623#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" ;
2926#endif
3027
3128 public const string CHAIN_NAME = "imtbl-zkevm-testnet" ;
You can’t perform that action at this time.
0 commit comments