fix api endpoint
This commit is contained in:
@@ -13,7 +13,7 @@ class App extends StatelessWidget {
|
|||||||
return MultiProvider(
|
return MultiProvider(
|
||||||
providers: [
|
providers: [
|
||||||
Provider<ApiService>(
|
Provider<ApiService>(
|
||||||
create: (_) => ApiService(baseUrl: 'http://localhost:8000/api/v1'),
|
create: (_) => ApiService(baseUrl: 'https://mileograph.co.uk/api/v1'),
|
||||||
),
|
),
|
||||||
ChangeNotifierProvider<AuthService>(
|
ChangeNotifierProvider<AuthService>(
|
||||||
create: (context) => AuthService(api: context.read<ApiService>()),
|
create: (context) => AuthService(api: context.read<ApiService>()),
|
||||||
|
|||||||
Reference in New Issue
Block a user