mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add facebook and threads regex
This commit is contained in:
		
							parent
							
								
									fe1bed37df
								
							
						
					
					
						commit
						7267e706b5
					
				| @ -168,7 +168,13 @@ const X_REGEX = /https:\/\/twitter.com\/(?<name>[\w\d_-]+)/; | ||||
| const CORD_REGEX = /https:\/\/discord.gg\/(?<name>[\w\d_-]+)/; | ||||
| const TWITCH_REGEX = /https:\/\/twitch.tv\/(?<name>[\w\d_-]+)/; | ||||
| const REDDIT_REGEX = /https:\/\/reddit\.com\/r\/(?<name>[\w\d_-]+)/; | ||||
| 
 | ||||
| /* meta software */ | ||||
| const INSTAGRAM_REGEX = /https:\/\/www.instagram.com\/(?<name>[\w\d_-]+)/; | ||||
| const THREADS_BY_INSTAGRAM_REGEX = /https:\/\/www.threads.net\/(?<name>[\w\d_-]+)/; | ||||
| const FACEBOOK_REGEX = /https:\/\/www.facebook.com\/(?<name>[\w\d_-]+)/; | ||||
| 
 | ||||
| /* music */ | ||||
| const LNKTO_REGEX = /https:\/\/(?<subdomain>\w+).lnk.to\/(?<path>\S*)/; | ||||
| 
 | ||||
| module.exports = function (app, config, renderTemplate) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley