fds
This commit is contained in:
parent
a17234205b
commit
e123ec020f
2 changed files with 3 additions and 3 deletions
|
@ -220,8 +220,8 @@ def sign_up_get(v):
|
|||
|
||||
|
||||
@app.post("/signup")
|
||||
@limiter.limit("1/second")
|
||||
@limiter.limit("5/day")
|
||||
# @limiter.limit("1/second")
|
||||
# @limiter.limit("5/day")
|
||||
@auth_desired
|
||||
def sign_up_post(v):
|
||||
with open('./disablesignups', 'r') as f:
|
||||
|
|
2
setup
2
setup
|
@ -12,4 +12,4 @@ sudo apt -y install ffmpeg
|
|||
mkdir /songs
|
||||
cp ./env /env
|
||||
. /env
|
||||
gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500
|
||||
gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500
|
Loading…
Add table
Add a link
Reference in a new issue