Update routes.dart
This commit is contained in:
parent
ccd0c62ddc
commit
127a66e63b
1 changed files with 4 additions and 2 deletions
|
@ -14,8 +14,10 @@ configureRoutes(Angel app) async {
|
|||
}
|
||||
|
||||
configureAfter(Angel app) async {
|
||||
// Static server, and pub serve while in development
|
||||
await app.configure(new PubServeLayer());
|
||||
// Uncomment this to proxy over pub serve while in development:
|
||||
// await app.configure(new PubServeLayer());
|
||||
|
||||
// Static server at /web or /build/web, depending on if in production
|
||||
await app.configure(new VirtualDirectory());
|
||||
|
||||
// Set our application up to handle different errors.
|
||||
|
|
Loading…
Reference in a new issue