fedimbed: index moment
This commit is contained in:
		
							parent
							
								
									666daf4fdf
								
							
						
					
					
						commit
						735aa308f8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -127,7 +127,7 @@ async function processUrl(msg, url) {
 | 
			
		|||
    } else if (PATH_REGEX.mastodon2.test(urlObj.pathname)) {
 | 
			
		||||
      redirUrl = url.replace(/^\/(.+?)\/statuses/, "/api/v1/statuses");
 | 
			
		||||
    } else if (PATH_REGEX.misskey.test(urlObj.pathname)) {
 | 
			
		||||
      let noteId = url.split("/notes/")[0];
 | 
			
		||||
      let noteId = url.split("/notes/")[1];
 | 
			
		||||
      if (noteId.indexOf("/") > -1) {
 | 
			
		||||
        noteId = noteId.split("/")[0];
 | 
			
		||||
      } else if (noteId.indexOf("?") > -1) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue