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,