From 127a66e63ba69c418be5b421275ff5d2302226cf Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 12 Feb 2017 15:20:56 -0500 Subject: [PATCH] Update routes.dart --- lib/src/routes/routes.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/routes/routes.dart b/lib/src/routes/routes.dart index c4c34b34..60923d3b 100644 --- a/lib/src/routes/routes.dart +++ b/lib/src/routes/routes.dart @@ -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.