Add special case for rint.osaka
This commit is contained in:
parent
86d1e04602
commit
bf073cfbc0
|
@ -20,7 +20,7 @@ app.get("/robots.txt", (c) => c.text("User-agent: *\nDisallow: /"))
|
|||
app.all("*", (c) => {
|
||||
const query: SearchQuery = {
|
||||
site: c.req.query("booru") ?? "safebooru",
|
||||
tags: c.req.query("tags") ?? "tohsaka_rin",
|
||||
tags: c.req.query("tags") ?? c.req.header("Host") === "rint.osaka" ? "tohsaka_rin" : "",
|
||||
}
|
||||
|
||||
return Search(c, query)
|
||||
|
|
Loading…
Reference in New Issue