mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
cleaning
This commit is contained in:
@@ -5,11 +5,9 @@ const BuiltinProxyUrl = "/proxy/i.pximg.net" // built-in proxy route
|
||||
// the list of proxies on /settings
|
||||
var BuiltinProxyList = []string{
|
||||
// !!!! WE ARE NOT AFFILIATED WITH MOST OF THE PROXIES !!!!
|
||||
"https://pximg.exozy.me", // except this one. this one we affiliated.
|
||||
"https://pximg.exozy.me", // except this one. this one we are affiliated with.
|
||||
"https://pixiv.ducks.party",
|
||||
"https://pximg.cocomi.eu.org",
|
||||
//"https://sex.nyan.xyz",
|
||||
//"https://i.loli.best",
|
||||
"https://mima.localghost.org/proxy/pximg",
|
||||
"https://i.pixiv.re",
|
||||
// "https://pixiv.tatakai.top", // dead due to us :(
|
||||
|
||||
@@ -296,11 +296,5 @@ func GetTemplateFunctions() template.FuncMap {
|
||||
"floor": func(i float64) int {
|
||||
return int(math.Floor(i))
|
||||
},
|
||||
"filterWordsIDK": func(s string) string {
|
||||
// Don't say anything... we don't own these...
|
||||
s = strings.ReplaceAll(s, "loli", "****")
|
||||
s = strings.ReplaceAll(s, "sex", "***")
|
||||
return s
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
{{ range ProxyList }}
|
||||
<label>
|
||||
<input type="radio" name="image-proxy" required="true" value="{{.}}" />
|
||||
{{filterWordsIDK: .}}
|
||||
{{.}}
|
||||
</label>
|
||||
{{ end }}
|
||||
<input type="submit" value="Use Selected Proxy" />
|
||||
|
||||
Reference in New Issue
Block a user