Skip to content

Instantly share code, notes, and snippets.

@inklesspen
Created April 6, 2009 16:59
Show Gist options
  • Save inklesspen/90834 to your computer and use it in GitHub Desktop.
Save inklesspen/90834 to your computer and use it in GitHub Desktop.
if asbool(static_files):
# Serve static files
static_app = StaticURLParser(config['pylons.paths']['static_files'])
app = Cascade([static_app, app])
app = URLMap(app)
app['/tile_image_files'] = StaticURLParser(config['pylons.paths']['tiles'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment