~fluix/tilde

ref: d3f4453731c038fdc1d5b588cfbece485406dd8c tilde/config.defaults -rw-r--r-- 1.4 KiB
d3f44537Steven Guikal Switch to SQLAlchemy database instead of Redis 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Full hostname (including port if not 80/443)
SERVER_NAME = "cats.sh.localhost:5000"

# Must be set to allow subdomains to access session cookies
SESSION_COOKIE_DOMAIN = "cats.sh.localhost"

# Cats!
SERVER_BANNER = """
          ██████╗ █████╗ ████████╗███████╗   ███████╗██╗  ██╗         
         ██╔════╝██╔══██╗╚══██╔══╝██╔════╝   ██╔════╝██║  ██║   /\_/\ 
 /\_/\   ██║     ███████║   ██║   ███████╗   ███████╗███████║  ( o.o )
( u.u )  ██║     ██╔══██║   ██║   ╚════██║   ╚════██║██╔══██║   > ^ < 
 > ^ <   ╚██████╗██║  ██║   ██║   ███████║██╗███████║██║  ██║         
          ╚═════╝╚═╝  ╚═╝   ╚═╝   ╚══════╝╚═╝╚══════╝╚═╝  ╚═╝         
"""

# Root upload path for all services
MEDIA_ROOT = "./uploads/"

# Store login 'next' parameter in sessions instead of URL to remove necessity
# of checking safetyness.
USE_SESSION_FOR_NEXT = True

SQLALCHEMY_DATABASE_URI = "sqlite:///data.db"
SQLALCHEMY_TRACK_MODIFICATIONS = False