Use app.environment
This commit is contained in:
parent
9d8cd1b6f3
commit
de88321865
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ AngelConfigurer configureServer(FileSystem fileSystem) {
|
||||||
// Read the following two sources for documentation:
|
// Read the following two sources for documentation:
|
||||||
// * https://medium.com/the-angel-framework/serving-static-files-with-the-angel-framework-2ddc7a2b84ae
|
// * https://medium.com/the-angel-framework/serving-static-files-with-the-angel-framework-2ddc7a2b84ae
|
||||||
// * https://github.com/angel-dart/static
|
// * https://github.com/angel-dart/static
|
||||||
if (!app.isProduction) {
|
if (!app.environment.isProduction) {
|
||||||
var vDir = VirtualDirectory(
|
var vDir = VirtualDirectory(
|
||||||
app,
|
app,
|
||||||
fileSystem,
|
fileSystem,
|
||||||
|
|
Loading…
Reference in a new issue