~fluix/tilde

ref: 0.5.0 tilde/tilde/config.defaults -rw-r--r-- 1.5 KiB
508b2595Steven Guikal Fix import 6 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
26
27
28
29
# SPDX-FileCopyrightText: 2021 Steven Guikal <void@fluix.one>
#
# SPDX-License-Identifier: CC0-1.0

# 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