File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,14 @@ class AppConfig {
14
14
'http://api.yourproductiondomain.com' , // Replace with actual production URL
15
15
);
16
16
17
- factory AppConfig .developmentInMemory () => const AppConfig (
18
- environment: AppEnvironment .developmentInMemory,
19
- baseUrl:
20
- 'http://localhost:8080' , // Base URL still needed for Auth API client, even if data is in-memory
17
+ factory AppConfig .demo () => const AppConfig (
18
+ environment: AppEnvironment .demo,
19
+ baseUrl: '' , // No API access needed for in-memory demo
21
20
);
22
21
23
- factory AppConfig .developmentApi () => const AppConfig (
24
- // New: For local Dart Frog API
25
- environment: AppEnvironment .developmentApi ,
22
+ factory AppConfig .development () => const AppConfig (
23
+ // For local Dart Frog API
24
+ environment: AppEnvironment .development ,
26
25
baseUrl: 'http://localhost:8080' , // Default Dart Frog local URL
27
26
);
28
27
You can’t perform that action at this time.
0 commit comments