Commit ddd45413 authored by Jacob Vosmaer's avatar Jacob Vosmaer

No fancy deploy or error page needed for assets

parent 257952ff
......@@ -65,11 +65,7 @@ func (u *Upstream) configureRoutes() {
route{"", regexp.MustCompile(`^/assets/`),
handleServeFile(u.DocumentRoot, u.URLPrefix(), CacheExpireMax,
NotFoundUnless(u.DevelopmentMode,
handleDeployPage(u.DocumentRoot,
errorpage.Inject(u.DocumentRoot,
u.Proxy(),
),
),
u.Proxy(),
),
),
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment