Skip to content

Commit cf7cdd7

Browse files
author
Finn Gruwier Larsen
committed
Use getenv for Microreact user and URL
1 parent b80dbed commit cf7cdd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os
22

3-
MICROREACT_BASE_URL = os.environ["MICROREACT_BASE_URL"]
3+
MICROREACT_BASE_URL = os.getenv("MICROREACT_BASE_URL", "https://microreact.ugerm.dksund.dk/")
44
MICROREACT_ACCESS_TOKEN = os.environ["MICROREACT_ACCESS_TOKEN"]
5-
USERNAME = os.environ["USER"]
5+
USERNAME = os.getenv("USER", "None")

0 commit comments

Comments
 (0)