Update routes.dart
This commit is contained in:
parent
7fbd4addfc
commit
04dcc244ff
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ configureAfter(Angel app) async {
|
|||
// await app.configure(new PubServeLayer());
|
||||
|
||||
// Static server at /web or /build/web, depending on if in production
|
||||
await app.configure(new VirtualDirectory());
|
||||
//
|
||||
// In production, `Cache-Control` headers will also be enabled.
|
||||
await app.configure(new CachingVirtualDirectory());
|
||||
|
||||
// Set our application up to handle different errors.
|
||||
var errors = new ErrorHandler(handlers: {
|
||||
|
|
Loading…
Reference in a new issue