Merge pull request #433 from pangeachat/fix-env

removed incorrect env file references
This commit is contained in:
ggurdin 2024-07-03 15:33:38 -04:00 committed by GitHub
commit 04537a38ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 4 deletions

View file

@ -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);
}

View file

@ -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");

View file

@ -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#