summaryrefslogtreecommitdiff
path: root/share/Flask_test/pbserver.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-11-16 19:58:26 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-11-16 19:58:26 -0800
commitdfda5d7399da4b4d19f13abd6dc390e23ff294c4 (patch)
tree55967488cc83fe3dec7f69e86827acac8630f5f7 /share/Flask_test/pbserver.py
parent80000dd26f003a62b1a3ecfb91ee6216179b1273 (diff)
ok time to finish this gallery
Diffstat (limited to 'share/Flask_test/pbserver.py')
-rwxr-xr-xshare/Flask_test/pbserver.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/share/Flask_test/pbserver.py b/share/Flask_test/pbserver.py
deleted file mode 100755
index 400883a..0000000
--- a/share/Flask_test/pbserver.py
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/python2.7
-
-#static routes
-#{{{
-@route('/im/<filename>')
-def server_static(filename):
- return static_file(filename, root='frontend/im/')
-@route('/im')
-def server_static():
- return static_file("index.html", root='frontend/im/')
-@route('/imgrid')
-def server_static():
- return static_file("index.html", root='frontend/imgrid/')
-@route('/imgradient')
-def server_static():
- return static_file("index.html", root='frontend/imgradient/')
-@route('/imlandscape')
-def server_static():
- return static_file("index.html", root='frontend/imlandscape/')
-@route('/impattern')
-def server_static():
- return static_file("index.html", root='frontend/impattern/')
-@route('/imbreak')
-def server_static():
- return static_file("index.html", root='frontend/imbreak/')
-@route('/')
-def server_static():
- return static_file("index.html", root='frontend/im/')
-@route('/css/<filename>')
-def server_static(filename):
- return static_file(filename, root='frontend/css/')
-@route('/js/<filename>')
-def server_static(filename):
- return static_file(filename, root='frontend/js/')
-@route('/img/<filename>')
-def server_static(filename):
- return static_file(filename, root='frontend/img/')
-#}}}
-
-#run(host='0.0.0.0', port=8999, debug=True)