Browse Source

fix: removed .env from assets

Fela Maslen 4 years ago
parent
commit
ead84114f8
2 changed files with 1 additions and 2 deletions
  1. 1 1
      gmus-mobile/lib/main.dart
  2. 0 1
      gmus-mobile/pubspec.yaml

+ 1 - 1
gmus-mobile/lib/main.dart

@@ -43,7 +43,7 @@ class MyHttpOverrides extends HttpOverrides {
 }
 
 Future<void> main() async {
-  await DotEnv.load(fileName: '.env');
+  await DotEnv.load();
 
   if (config['isDevelopment']) {
     HttpOverrides.global = new MyHttpOverrides();

+ 0 - 1
gmus-mobile/pubspec.yaml

@@ -43,7 +43,6 @@ flutter:
   uses-material-design: true
 
   assets:
-    - .env
     - assets/icon/icon.png
 
   # An image asset can refer to one or more resolution-specific "variants", see