Skip to content

Commit

Permalink
New format of URL (/user/lset).
Browse files Browse the repository at this point in the history
  • Loading branch information
monoid committed Mar 1, 2012
1 parent 65e3f38 commit 129a0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nrcgit/wmsmash/relay/handlers.py
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion wmsrelay.tac
Expand Up @@ -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 = {
Expand Down

0 comments on commit 129a0db

Please sign in to comment.