Merge pull request #433 from pangeachat/fix-env
removed incorrect env file references
This commit is contained in:
commit
04537a38ec
3 changed files with 2 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ void main() async {
|
|||
|
||||
// #Pangea
|
||||
try {
|
||||
await dotenv.load(fileName: ".env.local_choreo");
|
||||
await dotenv.load(fileName: ".env");
|
||||
} catch (e) {
|
||||
Logs().e('Failed to load .env file', e);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class Environment {
|
|||
DateTime.utc(2023, 1, 25).isBefore(DateTime.now());
|
||||
|
||||
static String get fileName {
|
||||
return ".local_choreo.env";
|
||||
return ".env";
|
||||
}
|
||||
|
||||
static bool get isStaging => synapsURL.contains("staging");
|
||||
|
|
|
|||
|
|
@ -151,8 +151,6 @@ flutter:
|
|||
# causes error with github actions
|
||||
# - .env
|
||||
# - assets/.env
|
||||
- .env.local_choreo
|
||||
- assets/.env.local_choreo
|
||||
- assets/pangea/
|
||||
- assets/pangea/bot_faces/
|
||||
# Pangea#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue