File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,13 @@ import 'package:ht_main/bootstrap.dart';
4
4
// Define the current application environment here.
5
5
// Change this value to switch between environments for local development.
6
6
const app_config.AppEnvironment currentEnvironment =
7
- app_config
8
- .AppEnvironment
9
- .developmentInMemory; // Or .developmentApi, or .production
7
+ app_config.AppEnvironment .development; // production/development/demo
10
8
11
9
void main () async {
12
10
final appConfig = switch (currentEnvironment) {
13
11
app_config.AppEnvironment .production => app_config.AppConfig .production (),
14
- app_config.AppEnvironment .developmentInMemory =>
15
- app_config.AppConfig .developmentInMemory (),
16
- app_config.AppEnvironment .developmentApi =>
17
- app_config.AppConfig .developmentApi (),
12
+ app_config.AppEnvironment .demo => app_config.AppConfig .demo (),
13
+ app_config.AppEnvironment .development => app_config.AppConfig .development (),
18
14
};
19
15
await bootstrap (appConfig);
20
16
}
Original file line number Diff line number Diff line change @@ -335,6 +335,15 @@ packages:
335
335
url: "https://github.com/headlines-toolkit/ht-auth-client.git"
336
336
source: git
337
337
version: "0.0.0"
338
+ ht_auth_inmemory:
339
+ dependency: "direct main"
340
+ description:
341
+ path: "."
342
+ ref: HEAD
343
+ resolved-ref: "7276ba82bfb24550c0e19d00a1c702b55ebc10ee"
344
+ url: "https://github.com/headlines-toolkit/ht-auth-inmemory"
345
+ source: git
346
+ version: "0.0.0"
338
347
ht_auth_repository:
339
348
dependency: "direct main"
340
349
description:
You can’t perform that action at this time.
0 commit comments