Explorar el Código

fix: removed .env from assets

Fela Maslen hace 4 años
padre
commit
ead84114f8
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  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