File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Regula.DocumentReader.WebClient/Client Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ public partial class ApiClient
54
54
public ApiClient ( )
55
55
{
56
56
Configuration = Regula . DocumentReader . WebClient . Client . Configuration . Default ;
57
- RestClient = new RestClient ( "http ://localhost:8080 " ) ;
57
+ RestClient = new RestClient ( "https ://api.regulaforensics.com " ) ;
58
58
}
59
59
60
60
/// <summary>
61
61
/// Initializes a new instance of the <see cref="ApiClient" /> class
62
- /// with default base path (http ://localhost:8080 ).
62
+ /// with default base path (https ://api.regulaforensics.com ).
63
63
/// </summary>
64
64
/// <param name="config">An instance of Configuration.</param>
65
65
public ApiClient ( Configuration config )
@@ -74,7 +74,7 @@ public ApiClient(Configuration config)
74
74
/// with default configuration.
75
75
/// </summary>
76
76
/// <param name="basePath">The base path.</param>
77
- public ApiClient ( String basePath = "http ://localhost:8080 " )
77
+ public ApiClient ( String basePath = "https ://api.regulaforensics.com " )
78
78
{
79
79
if ( String . IsNullOrEmpty ( basePath ) )
80
80
throw new ArgumentException ( "basePath cannot be empty" ) ;
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ static Configuration()
115
115
public Configuration ( )
116
116
{
117
117
UserAgent = "OpenAPI-Generator/1.0.0/csharp" ;
118
- BasePath = "http ://localhost:8080 " ;
118
+ BasePath = "https ://api.regulaforensics.com " ;
119
119
DefaultHeader = new ConcurrentDictionary < string , string > ( ) ;
120
120
ApiKey = new ConcurrentDictionary < string , string > ( ) ;
121
121
ApiKeyPrefix = new ConcurrentDictionary < string , string > ( ) ;
@@ -131,7 +131,7 @@ public Configuration(
131
131
IDictionary < string , string > defaultHeader ,
132
132
IDictionary < string , string > apiKey ,
133
133
IDictionary < string , string > apiKeyPrefix ,
134
- string basePath = "http ://localhost:8080 " ) : this ( )
134
+ string basePath = "https ://api.regulaforensics.com " ) : this ( )
135
135
{
136
136
if ( string . IsNullOrWhiteSpace ( basePath ) )
137
137
throw new ArgumentException ( "The provided basePath is invalid." , "basePath" ) ;
You can’t perform that action at this time.
0 commit comments