|
|
@@ -10,7 +10,7 @@ GOTIFY_URL = "https://gotify.erhe.top"
|
|
|
async def receive_checkchan_webhook(key: str, title: str, message: str):
|
|
|
if not key:
|
|
|
raise HTTPException(status_code=400, detail="Missing required parameter 'key'")
|
|
|
- if key != 'A_SgWPLrgFAXm0d':
|
|
|
+ if key not in ['A_SgWPLrgFAXm0d', 'A9KF--mx_12PjSu', 'A0Xg6ZE5946iBYg']:
|
|
|
raise HTTPException(status_code=401, detail="Invalid API key")
|
|
|
|
|
|
try:
|