From de883218653151f432a86eb04c82c98123a67065 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 18 Apr 2019 12:07:17 -0400 Subject: [PATCH] Use app.environment --- lib/src/routes/routes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/routes/routes.dart b/lib/src/routes/routes.dart index ad91ef9..dfcc7a2 100644 --- a/lib/src/routes/routes.dart +++ b/lib/src/routes/routes.dart @@ -28,7 +28,7 @@ AngelConfigurer configureServer(FileSystem fileSystem) { // Read the following two sources for documentation: // * https://medium.com/the-angel-framework/serving-static-files-with-the-angel-framework-2ddc7a2b84ae // * https://github.com/angel-dart/static - if (!app.isProduction) { + if (!app.environment.isProduction) { var vDir = VirtualDirectory( app, fileSystem,