forked from rDrama/rDrama
master
parent
3f9e842bbb
commit
7c6397354e
|
@ -22,7 +22,7 @@ site = environ.get("DOMAIN").strip()
|
||||||
site_name = environ.get("SITE_NAME").strip()
|
site_name = environ.get("SITE_NAME").strip()
|
||||||
defaulttheme = environ.get("DEFAULT_THEME", "midnight").strip()
|
defaulttheme = environ.get("DEFAULT_THEME", "midnight").strip()
|
||||||
defaultcolor = environ.get("DEFAULT_COLOR", "fff").strip()
|
defaultcolor = environ.get("DEFAULT_COLOR", "fff").strip()
|
||||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "day").strip()
|
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
|
||||||
cardview = bool(int(environ.get("CARD_VIEW", 1)))
|
cardview = bool(int(environ.get("CARD_VIEW", 1)))
|
||||||
|
|
||||||
class User(Base):
|
class User(Base):
|
||||||
|
|
|
@ -3,7 +3,7 @@ from files.helpers.get import *
|
||||||
from files.__main__ import app, cache
|
from files.__main__ import app, cache
|
||||||
from files.classes.submission import Submission
|
from files.classes.submission import Submission
|
||||||
|
|
||||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "day").strip()
|
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
|
||||||
SITE_NAME = environ.get("SITE_NAME", "").strip()
|
SITE_NAME = environ.get("SITE_NAME", "").strip()
|
||||||
|
|
||||||
@app.get("/post/")
|
@app.get("/post/")
|
||||||
|
|
Loading…
Reference in New Issue