1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
This commit is contained in:
checktheroads
2019-05-12 23:33:32 -07:00
parent 810a906f2e
commit 419fe7b5db
4 changed files with 8 additions and 20 deletions

View File

@@ -1,7 +1,12 @@
import os
import hyperglass
from hyperglass.hyperglass import app
application = app
hyperglass_root = os.path.dirname(hyperglass.__file__)
static = os.path.join(hyperglass_root, "static")
if __name__ == "__main__":
application.renderCSS()
application.run()
application.run(static_folder=static)