기본환경 local로 변경
This commit is contained in:
parent
32a8fb5207
commit
f6f1214262
1 changed files with 3 additions and 3 deletions
|
|
@ -23,15 +23,15 @@ String executablePath = '';
|
|||
String appIdendifier = '';
|
||||
String appName = '';
|
||||
String and = '&&';
|
||||
Environment environment = Environment.dev;
|
||||
Environment environment = Environment.local;
|
||||
|
||||
void initialize(String name, String appID) {
|
||||
initializeApp(name, appID);
|
||||
|
||||
const env = String.fromEnvironment('ENV', defaultValue: 'dev');
|
||||
const env = String.fromEnvironment('ENV', defaultValue: 'local');
|
||||
environment = Environment.values.firstWhere(
|
||||
(e) => e.name == env,
|
||||
orElse: () => Environment.dev,
|
||||
orElse: () => Environment.local,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue