Permalink
Browse files

New format of URL (/user/lset).

  • Loading branch information...
1 parent 65e3f38 commit 129a0dbcf87b8418f3835d4ea7da3883f76522cb @monoid committed Mar 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 nrcgit/wmsmash/relay/handlers.py
  2. +1 −1 wmsrelay.tac
@@ -67,7 +67,7 @@ def run(self):
'title': desc[1],
'abstract': desc[2],
'keywords': [],
- 'url': (self.parent.channel.CFG['base_url_fmt'] % desc[0])
+ 'url': (self.parent.channel.CFG['base_url_fmt'] % (self.user, self.lset))
}))
self.parent.finish()
View
@@ -19,7 +19,7 @@ SETTINGS = {
# Base URL format string. %s is used for layerset name
# Used in GetCapabilities handler
- 'base_url_fmt': 'http://localhost:8080/virtual?Set=%s&SERVICE=WMS',
+ 'base_url_fmt': 'http://localhost:8080/wm/%s/%s?SERVICE=WMS',
}
WMS_CONFIG = {

0 comments on commit 129a0db

Please sign in to comment.