Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -5,13 +5,13 @@ from flask import Flask, request, Response
|
|
5 |
|
6 |
app = Flask(__name__)
|
7 |
|
8 |
-
SLACK_TOKEN = '
|
9 |
-
SLACK_SIGNING_SECRET = '
|
10 |
-
TARGET_CHANNEL_ID = '
|
11 |
|
12 |
TRIGGERS = {
|
13 |
-
"urgent": "<@U061W3NRFFA>",
|
14 |
-
"help": "<@
|
15 |
}
|
16 |
|
17 |
slack_client = WebClient(token=SLACK_TOKEN)
|
|
|
5 |
|
6 |
app = Flask(__name__)
|
7 |
|
8 |
+
SLACK_TOKEN = os.getenv('SLACK_TOKEN')
|
9 |
+
SLACK_SIGNING_SECRET = os.getenv('SIGNING_SECRET')
|
10 |
+
TARGET_CHANNEL_ID = os.getenv('CHANNEL_ID')
|
11 |
|
12 |
TRIGGERS = {
|
13 |
+
"urgent": "<@U061W3NRFFA>",
|
14 |
+
"help": "<@U061W3NRFFA>",
|
15 |
}
|
16 |
|
17 |
slack_client = WebClient(token=SLACK_TOKEN)
|