aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2012-09-27 19:58:54 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2012-09-27 19:58:54 +0200
commit6c5963d8153333425a3a48c618e170c386047fe8 (patch)
tree2e3084933af918502601ba7e4fc260bdae981ed0
parentbbc694f05d67d5159fe98d28d33ecf09134f7431 (diff)
downloadnanocloudlogger-6c5963d8153333425a3a48c618e170c386047fe8.tar.gz
nanocloudlogger-6c5963d8153333425a3a48c618e170c386047fe8.zip
Debugger changed to console.
-rwxr-xr-xsrc/loggergae/api.py8
-rw-r--r--src/loggergae/console.html (renamed from src/loggergae/debugger.html)0
2 files changed, 4 insertions, 4 deletions
diff --git a/src/loggergae/api.py b/src/loggergae/api.py
index b62b0da..244edaa 100755
--- a/src/loggergae/api.py
+++ b/src/loggergae/api.py
@@ -17,10 +17,10 @@ class MainPage(webapp2.RequestHandler):
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path, {}))
-class DebuggerPage(webapp2.RequestHandler):
+class ConsolePage(webapp2.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/html'
- path = os.path.join(os.path.dirname(__file__), 'debugger.html')
+ path = os.path.join(os.path.dirname(__file__), 'console.html')
self.response.out.write(template.render(path, {}))
class DocumentationPage(webapp2.RequestHandler):
@@ -89,13 +89,13 @@ class StreamSet(webapp2.RequestHandler):
self.response.out.write('status: ok')
else:
self.response.headers['Content-Type'] = 'application/json'
- self.response.out.write(json.dumps({'status' : 'ok'}, separators=(',',':')))
+ self.response.out.write(json.dumps({'status' : 'ok'}, separators=(',', ':')))
app = webapp2.WSGIApplication([
('/api', DocumentationPage),
('/api/get', StreamGet),
('/api/set', StreamSet),
('/docs', DocumentationPage),
- ('/debug', DebuggerPage),
+ ('/console', ConsolePage),
('/', DocumentationPage)
], debug=True) \ No newline at end of file
diff --git a/src/loggergae/debugger.html b/src/loggergae/console.html
index 32d279e..32d279e 100644
--- a/src/loggergae/debugger.html
+++ b/src/loggergae/console.html