do not try to embed /streamer as a game

pull/3955/head
Niklas Fiekas 2018-01-04 14:16:00 +01:00
parent 7c544c0438
commit 9afb190281
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ $(function() {
var studyRegex = /lichess\.org\/study\/(?:embed\/)?(\w{8})\/(\w{8})(#\d+)?\b/;
var gameRegex = /lichess\.org\/(?:embed\/)?(\w{8})(?:(?:\/(white|black))|\w{4}|)(#\d+)?\b/;
var notGames = ['training', 'analysis', 'insights', 'practice', 'features', 'password'];
var notGames = ['training', 'analysis', 'insights', 'practice', 'features', 'password', 'streamer'];
var parseLink = function(a) {
var yt = lichess.toYouTubeEmbedUrl(a.href);