diff piecrust/serving/server.py @ 862:fddaf43424e2

refactor: Get the page assets to work again in the server.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 08 Jun 2017 23:09:34 -0700
parents 08e02c2a2a1a
children 33a89139c284
line wrap: on
line diff
--- a/piecrust/serving/server.py	Thu Jun 08 08:52:45 2017 -0700
+++ b/piecrust/serving/server.py	Thu Jun 08 23:09:34 2017 -0700
@@ -107,10 +107,6 @@
                 '!debug' in request.args):
             app.config.set('site/show_debug_info', True)
 
-        # We'll serve page assets directly from where they are.
-        app.config.set('site/asset_url_format',
-                       self.root_url + '_asset/%path%')
-
         # Let's try to serve a page.
         try:
             response = self._try_serve_page(app, environ, request)