diff --git a/bin/effecteval b/bin/effecteval --- a/bin/effecteval +++ b/bin/effecteval @@ -313,7 +313,6 @@ class App(object): (r'/effectUpdates', EffectUpdates), (r'/code', Code), (r'/songEffectsUpdates', SongEffectsUpdates), - (r'/static/(.*)', SFH, {'path': 'static/'}), (r'/effect/eval', EffectEval), (r'/songEffects', SongEffects), (r'/songEffects/eval', SongEffectsEval), diff --git a/bin/homepage b/bin/homepage new file mode 100644 --- /dev/null +++ b/bin/homepage @@ -0,0 +1,36 @@ +#!/bin/zsh + +CONF=/tmp/light9_nginx.conf +ROOT=`dirname $0`/.. +ROOT=${ROOT:a} + +cat > $CONF < ascoltami on ${host} - - - - + + + +

ascoltami on ${host}

diff --git a/light9/ascoltami/webapp.py b/light9/ascoltami/webapp.py --- a/light9/ascoltami/webapp.py +++ b/light9/ascoltami/webapp.py @@ -117,12 +117,6 @@ class goButton(PrettyErrorHandler, cyclo self.set_header("Content-Type", "text/plain") self.write("ok") -class static(PrettyErrorHandler, cyclone.web.RequestHandler): - def get(self, name): - if name.endswith('.css'): - self.set_header("Content-Type", "text/css") - self.write(FilePath("static").preauthChild(name).open().read()) - def makeWebApp(app): return cyclone.web.Application(handlers=[ (r"/", root), @@ -132,6 +126,5 @@ def makeWebApp(app): (r"/seekPlayOrPause", seekPlayOrPause), (r"/output", output), (r"/go", goButton), - (r"/static/(.*)", static), ], app=app) diff --git a/light9/effecteval/effect.html b/light9/effecteval/effect.html --- a/light9/effecteval/effect.html +++ b/light9/effecteval/effect.html @@ -3,7 +3,7 @@ effect - + @@ -16,10 +16,10 @@ - - - - + + + + diff --git a/light9/effecteval/index.html b/light9/effecteval/index.html --- a/light9/effecteval/index.html +++ b/light9/effecteval/index.html @@ -3,7 +3,7 @@ effecteval - +
/stats
@@ -23,9 +23,9 @@ - - - + + + diff --git a/light9/rdfdb/web/graphView.xhtml b/light9/rdfdb/web/graphView.xhtml --- a/light9/rdfdb/web/graphView.xhtml +++ b/light9/rdfdb/web/graphView.xhtml @@ -4,7 +4,7 @@ graphview - + @@ -32,8 +32,8 @@ - - + + - + + + diff --git a/light9/vidref/vidref.html b/light9/vidref/vidref.html --- a/light9/vidref/vidref.html +++ b/light9/vidref/vidref.html @@ -3,7 +3,7 @@ vidref - +