Fix the deploy build
This commit is contained in:
parent
4d62511332
commit
f6a7e5a357
3 changed files with 5 additions and 4 deletions
4
app.py
4
app.py
|
@ -58,8 +58,8 @@ app.secret_key = get_secret_key('flask')
|
|||
JWT_SECRET = get_secret_key('jwt')
|
||||
JWT = JSONWebSignatureSerializer(JWT_SECRET)
|
||||
|
||||
with open('config/jwt_token', 'w+') as f:
|
||||
f.write(JWT.dumps({'type': 'admin_token'}))
|
||||
with open('config/jwt_token', 'wb+') as f:
|
||||
f.write(JWT.dumps({'type': 'admin_token'})) # type: ignore
|
||||
|
||||
SIG_AUTH = HTTPSigAuth(ID+'#main-key', KEY.privkey)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue