Ignore:
Timestamp:
Dec 13, 2025, 12:06:53 PM (9 hours ago)
Author:
alloc
Message:

Compatibility for V 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/WebServer/src/OpenID.cs

    r462 r511  
    1818                        new Regex (@"^https?:\/\/steamcommunity\.com\/openid\/id\/([0-9]{17,18})");
    1919
    20                 private static readonly X509Certificate2 caCert =
    21                         new X509Certificate2 ($"{Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location)}/steam-rootca.cer");
    22 
    23                 private static readonly X509Certificate2 caIntermediateCert =
    24                         new X509Certificate2 ($"{Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location)}/steam-intermediate.cer");
     20                private static readonly X509Certificate2 caCert = new X509Certificate2 ($"{ModApi.ModInstance.Path}/steam-rootca.cer");
     21
     22                private static readonly X509Certificate2 caIntermediateCert = new X509Certificate2 ($"{ModApi.ModInstance.Path}/steam-intermediate.cer");
    2523
    2624                private static bool verboseSsl = false;
Note: See TracChangeset for help on using the changeset viewer.