Permalink
Browse files

Add support for the referer in the config parser.

  • Loading branch information...
1 parent 048ae2a commit b3bead525ffb92e1d127b171142dc6cbd741ce82 @iandees committed Mar 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 TileStache/Config.py
View
@@ -409,6 +409,8 @@ def _parseConfigfileLayer(layer_dict, config, dirpath):
elif _class is Providers.UrlTemplate:
provider_kwargs['template'] = provider_dict['template']
+ if 'referer' in provider_dict:
+ provider_kwargs['referer'] = provider_dict['referer']
elif _class is Providers.Vector.Provider:
provider_kwargs['driver'] = provider_dict['driver']

0 comments on commit b3bead5

Please sign in to comment.