diff piecrust/baking/worker.py @ 871:504ddb370df8

refactor: Fixing some issues with baking assets.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Jun 2017 22:30:27 -0700
parents 8d25f76fce98
children d1095774bfcf
line wrap: on
line diff
--- a/piecrust/baking/worker.py	Mon Jun 12 22:30:06 2017 -0700
+++ b/piecrust/baking/worker.py	Tue Jun 13 22:30:27 2017 -0700
@@ -37,7 +37,7 @@
         app = self.ctx.appfactory.create()
         app.config.set('baker/is_baking', True)
         app.config.set('baker/worker_id', self.wid)
-        app.config.set('site/base_asset_url_format', '%uri')
+        app.config.set('site/asset_url_format', '%page_uri%/%filename%')
 
         app.env.fs_cache_only_for_main_page = True