Dark Flame Master
This commit is contained in:
parent
7b8cc06419
commit
0a24af41b1
@ -32,12 +32,19 @@ func init() {
|
||||
searchTerm := requestURI[len("/search/"):]
|
||||
ctx.Request.URL.RawQuery = "q=" + searchTerm
|
||||
ctx.SetURI("/search")
|
||||
return
|
||||
}
|
||||
|
||||
if strings.HasPrefix(requestURI, "/_/search/") {
|
||||
searchTerm := requestURI[len("/_/search/"):]
|
||||
ctx.Request.URL.RawQuery = "q=" + searchTerm
|
||||
ctx.SetURI("/_/search")
|
||||
return
|
||||
}
|
||||
|
||||
if requestURI == "/dark-flame-master" {
|
||||
ctx.SetURI("/api/analytics/new")
|
||||
return
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ export class AnimeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
fetch("/api/analytics/new", {
|
||||
fetch("/dark-flame-master", {
|
||||
method: "POST",
|
||||
credentials: "same-origin",
|
||||
body: JSON.stringify(analytics)
|
||||
|
Loading…
Reference in New Issue
Block a user