We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a37d2f commit d3961bcCopy full SHA for d3961bc
core/config/jwt.py
@@ -5,10 +5,10 @@
5
from dotenv import load_dotenv
6
load_dotenv()
7
8
-with open(str(os.getenv("PRIVATE_KEY_PATH")), "r") as f:
+with open(str(os.getenv("PRIVATE_KEY_PATH", "security/private_key")), "r") as f:
9
PRIVATE_KEY = f.read()
10
11
-with open(str(os.getenv("PUBLIC_KEY_PATH")), "r") as f:
+with open(str(os.getenv("PUBLIC_KEY_PATH", "security/public_key.pem")), "r") as f:
12
PUBLIC_KEY = f.read()
13
14
0 commit comments