1 parent
fb7062f906
commit
6a697e897b
3 files changed
+7
-3
No files matched your search
@@ -6,5 +6,5 @@ APP_IMAGE=office-xbot-feishu:latest
|
|||||||
APP_ID=cli_a5110cd1da70900b
|
APP_ID=cli_a5110cd1da70900b
|
||||||
APP_SECRET=XwTUlUq7dGK1XexUS7ljShJJ7t1MIwXF
|
APP_SECRET=XwTUlUq7dGK1XexUS7ljShJJ7t1MIwXF
|
||||||
|
|
||||||
ENCRYPT_KE=z313YkENr4du2oDw
|
ENCRYPT_KEY=z313YkENr4du2oDw
|
||||||
VERIFICATION_TOKEN=35LaoAPYTXRyBmjeaBvzRbRUsJSL1KBx
|
VERIFICATION_TOKEN=35LaoAPYTXRyBmjeaBvzRbRUsJSL1KBx
|
||||||
@@ -45,6 +45,7 @@ handler = (
|
|||||||
@app.route("/event", methods=["POST"])
|
@app.route("/event", methods=["POST"])
|
||||||
def event():
|
def event():
|
||||||
resp = handler.do(parse_req())
|
resp = handler.do(parse_req())
|
||||||
|
print(resp)
|
||||||
return parse_resp(resp)
|
return parse_resp(resp)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -5,5 +5,8 @@ services:
|
|||||||
image: "${APP_IMAGE}"
|
image: "${APP_IMAGE}"
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:8080:8080"
|
- "0.0.0.0:8080:8080"
|
||||||
env_file:
|
environment:
|
||||||
- ".env"
|
- APP_ID=${APP_ID}
|
||||||
|
- APP_SECRET=${APP_SECRET}
|
||||||
|
- ENCRYPT_KEY=${ENCRYPT_KEY}
|
||||||
|
- VERIFICATION_TOKEN=${VERIFICATION_TOKEN}
|
||||||
Reference in new issue
Block a user