mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
wsgi
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="static/images/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="static/images/favicon/site.webmanifest">
|
||||
<link rel="mask-icon" href="static/images/favicon/safari-pinned-tab.svg" color="#ff5e5b">
|
||||
<link rel="shortcut icon" href="static/images/favicon.ico">
|
||||
<link rel="shortcut icon" href="static/images/favicon/favicon.ico">
|
||||
<meta name="msapplication-TileColor" content="#330036">
|
||||
<meta name="msapplication-config" content="static/images/favicon/browserconfig.xml">
|
||||
<meta name="theme-color" content="#330036">
|
||||
@@ -28,7 +28,6 @@
|
||||
{% block scripts %}
|
||||
<script src="static/js/jquery-3.4.0.min.js"></script>
|
||||
<script src="static/js/hyperglass.js"></script>
|
||||
<!-- <script src="static/js/fontawesome-free-5.8.1-web/js/all.js"></script> -->
|
||||
{% if google_analytics|length > 0 %}
|
||||
<!--Google Analytics-->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ google_analytics }}"></script>
|
||||
|
@@ -225,6 +225,7 @@ var submitForm = function() {
|
||||
}
|
||||
else if (xhr.status == 200){
|
||||
console.log(xhr.status, 'success')
|
||||
var output = document.getElementById('output')
|
||||
output.innerHTML =
|
||||
'<br>' +
|
||||
'<div class="content">' +
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user