Configured Api settings
This commit is contained in:
@@ -6,7 +6,7 @@ class ApiConfig {
|
||||
const ApiConfig({
|
||||
this.scheme = 'http',
|
||||
this.host = 'localhost',
|
||||
this.port = 5000,
|
||||
this.port = 5118,
|
||||
this.basePath = '',
|
||||
this.timeout = const Duration(seconds: 15),
|
||||
this.defaultHeaders = const {},
|
||||
|
||||
@@ -6,7 +6,7 @@ void main() {
|
||||
|
||||
// Rest API of the backend. Plain http is fine, we only talk inside of a
|
||||
// trusted network.
|
||||
AcApi.configure(const ApiConfig(host: 'localhost', port: 5000));
|
||||
AcApi.configure(const ApiConfig(host: 'localhost', port: 5118));
|
||||
|
||||
runApp(const MainApp());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user