mirror of
				https://github.com/Mestima/GM-Discord.git
				synced 2025-10-30 00:22:35 +00:00 
			
		
		
		
	webhook is now affected by security setting
				
					
				
			This commit is contained in:
		| @ -18,7 +18,7 @@ app.post("/send", (req, res) => { | ||||
| 	const content: any = req.query.content; | ||||
| 	const postWebhook: any = req.query.webhook; | ||||
|  | ||||
| 	if (webhook != postWebhook) { | ||||
| 	if (security && webhook != postWebhook) { | ||||
| 		const err = `error: unknown webhook '${postWebhook}'`; | ||||
| 		if (debug) { | ||||
| 			console.log(err); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user