瀏覽代碼

false positive with twitch

lolcat 1 周之前
父節點
當前提交
e2e76fd007
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/frontend.php

+ 2 - 1
lib/frontend.php

@@ -606,7 +606,8 @@ class frontend{
 							'/^\/([A-Za-z0-9_.]+)/',
 							$host["path"],
 							$username
-						)
+						) &&
+						$username[1] != "videos"
 					){
 						
 						$archives[] = [