Skip to content

Commit d3961bc

Browse files
committed
full commit
1 parent 5a37d2f commit d3961bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/config/jwt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
from dotenv import load_dotenv
66
load_dotenv()
77

8-
with open(str(os.getenv("PRIVATE_KEY_PATH")), "r") as f:
8+
with open(str(os.getenv("PRIVATE_KEY_PATH", "security/private_key")), "r") as f:
99
PRIVATE_KEY = f.read()
1010

11-
with open(str(os.getenv("PUBLIC_KEY_PATH")), "r") as f:
11+
with open(str(os.getenv("PUBLIC_KEY_PATH", "security/public_key.pem")), "r") as f:
1212
PUBLIC_KEY = f.read()
1313

1414

0 commit comments

Comments
 (0)