From 5ccb16ca20ea55f0dfb16c3e87e65a63b8455e79 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 21 May 2013 16:07:18 -0500 Subject: Work towards getting plugin static linking/serving to work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add link_plugin_assets. For now, incorrectly running from ./bin/gmg theme assetlink... uh, will fix ;) - Update paste and config_spec.ini configs to handle the locations and serving of the plugins' static resources This commit sponsored by Marko Dimjašević. Thank you! --- paste.ini | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'paste.ini') diff --git a/paste.ini b/paste.ini index 4c6397fa..3ac785ad 100644 --- a/paste.ini +++ b/paste.ini @@ -56,6 +56,11 @@ use = egg:Paste#static document_root = %(here)s/user_dev/theme_static/ cache_max_age = 86400 +[app:plugin_static] +use = egg:Paste#static +document_root = %(here)s/user_dev/plugin_static/ +cache_max_age = 86400 + [filter:errors] use = egg:mediagoblin#errors debug = false -- cgit v1.2.3