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_SECRET=XwTUlUq7dGK1XexUS7ljShJJ7t1MIwXF
|
||||
|
||||
ENCRYPT_KE=z313YkENr4du2oDw
|
||||
ENCRYPT_KEY=z313YkENr4du2oDw
|
||||
VERIFICATION_TOKEN=35LaoAPYTXRyBmjeaBvzRbRUsJSL1KBx
|
||||
@@ -45,6 +45,7 @@ handler = (
|
||||
@app.route("/event", methods=["POST"])
|
||||
def event():
|
||||
resp = handler.do(parse_req())
|
||||
print(resp)
|
||||
return parse_resp(resp)
|
||||
|
||||
|
||||
|
||||
+5
-2
@@ -5,5 +5,8 @@ services:
|
||||
image: "${APP_IMAGE}"
|
||||
ports:
|
||||
- "0.0.0.0:8080:8080"
|
||||
env_file:
|
||||
- ".env"
|
||||
environment:
|
||||
- APP_ID=${APP_ID}
|
||||
- APP_SECRET=${APP_SECRET}
|
||||
- ENCRYPT_KEY=${ENCRYPT_KEY}
|
||||
- VERIFICATION_TOKEN=${VERIFICATION_TOKEN}
|
||||
Reference in new issue
Block a user