Fix url-preview.vue
This commit is contained in:
		
							parent
							
								
									0efbeb36df
								
							
						
					
					
						commit
						3c3d3e4c0c
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -160,12 +160,12 @@ export default Vue.extend({
 | 
				
			||||||
						'web.tv',
 | 
											'web.tv',
 | 
				
			||||||
						'youtube.com',
 | 
											'youtube.com',
 | 
				
			||||||
						'youtu.be'
 | 
											'youtu.be'
 | 
				
			||||||
					].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`))))
 | 
										].some(x => x == url.hostname || url.hostname.endsWith(`.${x}`)))
 | 
				
			||||||
						this.player = info.player;
 | 
											this.player = info.player;
 | 
				
			||||||
				}
 | 
									}	// info.url
 | 
				
			||||||
			});
 | 
								})	// json
 | 
				
			||||||
		}
 | 
							});	// fetch
 | 
				
			||||||
	}
 | 
						}	// created
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue