이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
htmlhouse
/
htmlhouse
의 미러
https://github.com/writeas/htmlhouse
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
2
활동
소스 검색
Automatically pass public filter when no blacklist configured
pull/4/head
Matt Baer
6 년 전
부모
2caebcfecf
커밋
7893f07a80
1개의 변경된 파일
과
4개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
filter.go
+ 4
- 0
filter.go
파일 보기
@@ -1,6 +1,10 @@
package htmlhouse
func passesPublicFilter(app *app, html string) bool {
if app.cfg.BlacklistTerms == "" {
return true
}
spam := app.cfg.BlacklistReg.MatchString(html)
return !spam
}
쓰기
미리보기
불러오는 중...
취소
저장