Use /scripts to avoid CF caching
This commit is contained in:
8
tests.go
8
tests.go
@ -35,6 +35,10 @@ func init() {
|
||||
"/forum/general",
|
||||
})
|
||||
|
||||
app.Test("/search/:term", []string{
|
||||
"/search/Dragon Ball",
|
||||
})
|
||||
|
||||
// API
|
||||
app.Test("/api/anime/:id", []string{
|
||||
"/api/anime/1",
|
||||
@ -72,6 +76,10 @@ func init() {
|
||||
"/api/nicktouser/Akyoto",
|
||||
})
|
||||
|
||||
app.Test("/api/searchindex/:id", []string{
|
||||
"/api/searchindex/Anime",
|
||||
})
|
||||
|
||||
// Images
|
||||
app.Test("/images/avatars/large/:file", []string{
|
||||
"/images/avatars/large/4J6qpK1ve.webp",
|
||||
|
Reference in New Issue
Block a user