1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed dev mode css bug

This commit is contained in:
Krateng 2020-09-01 00:38:30 +02:00
parent e27a83bdc9
commit 6acab324db
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,8,2
version = 2,8,3
versionstr = ".".join(str(n) for n in version)
links = {
"pypi":"malojaserver",

View File

@ -158,6 +158,7 @@ def static_image(pth):
@webserver.route("/style.css")
def get_css():
response.content_type = 'text/css'
global css
if settings.get_settings("DEV_MODE"): css = generate_css()
return css