change the settings so i don't have to on my server

This commit is contained in:
trinkey 2025-03-08 10:30:29 -05:00
parent 72ad0e9e7b
commit c1aa0be9d3

View file

@ -7,7 +7,7 @@ import requests
from secret import token from secret import token
REVERSE_PROXY = False # if True: uses X-Real-IP header instead of remote addr REVERSE_PROXY = True # if True: uses X-Real-IP header instead of remote addr
BASE_DIR = Path(__file__).parent BASE_DIR = Path(__file__).parent
TIMEOUT = 15 * 60 TIMEOUT = 15 * 60
MAX_LENGTH = 100_000 MAX_LENGTH = 100_000
@ -15,9 +15,9 @@ CONTENT_WARNING = "Post can contain any text"
PROMO_URL = "\n\nhttps://everyone.trinkey.com/" PROMO_URL = "\n\nhttps://everyone.trinkey.com/"
POST_URL = "https://is.trinkey.com/api/iceshrimp/notes" POST_URL = "https://is.trinkey.com/api/iceshrimp/notes"
RUN_CONF = { RUN_CONF = {
"debug": True, "debug": False,
"host": "0.0.0.0", "host": "0.0.0.0",
"port": "8000" "port": "8765"
} }
app = flask.Flask(__file__) app = flask.Flask(__file__)