[open-ils-commits] r171 - servres/trunk/conifer/syrup (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 12 22:24:17 EDT 2009


Author: gfawcett
Date: 2009-03-12 22:24:15 -0400 (Thu, 12 Mar 2009)
New Revision: 171

Modified:
   servres/trunk/conifer/syrup/views.py
Log:
fixed http-host in feed urls.


Modified: servres/trunk/conifer/syrup/views.py
===================================================================
--- servres/trunk/conifer/syrup/views.py	2009-03-13 02:14:54 UTC (rev 170)
+++ servres/trunk/conifer/syrup/views.py	2009-03-13 02:24:15 UTC (rev 171)
@@ -895,5 +895,5 @@
                         lastmod=lastmod,
                         render_title=render_title,
                         items=items,
-                        root='http://localhost:8000',
+                        root='http://%s' % request.get_host(),
                         _serialization='xml')



More information about the open-ils-commits mailing list