This commit is contained in:
iacore
2024-02-24 15:19:17 +00:00
parent 8d6dbe9d8f
commit a11b1470fa
3 changed files with 2 additions and 10 deletions
+1 -3
View File
@@ -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 :(
-6
View File
@@ -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
},
}
}
+1 -1
View File
@@ -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" />