Skip to content

Instantly share code, notes, and snippets.

@tomekwojcik
Created August 30, 2011 04:57

Revisions

  1. tomekwojcik revised this gist Aug 30, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    # default is the blueprint object
    @default.route('/files/<path:path>')
    def files(path):
    return default.send_static_file(path)
  2. tomekwojcik created this gist Aug 30, 2011.
    3 changes: 3 additions & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    @default.route('/files/<path:path>')
    def files(path):
    return default.send_static_file(path)