Starting with a fresh database
This commit is contained in:
5
main.go
5
main.go
@ -7,6 +7,7 @@ import (
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/pages/airing"
|
||||
"github.com/animenotifier/notify.moe/pages/anime"
|
||||
"github.com/animenotifier/notify.moe/pages/dashboard"
|
||||
"github.com/animenotifier/notify.moe/pages/forum"
|
||||
"github.com/animenotifier/notify.moe/pages/forums"
|
||||
"github.com/animenotifier/notify.moe/pages/genre"
|
||||
@ -33,9 +34,7 @@ func main() {
|
||||
}
|
||||
|
||||
// Ajax routes
|
||||
app.Ajax("/", func(ctx *aero.Context) string {
|
||||
return ctx.HTML("ARN 4.0 is currently under construction.<br><a href='https://paypal.me/blitzprog' target='_blank' rel='noopener'>Support the development</a>")
|
||||
})
|
||||
app.Ajax("/", dashboard.Get)
|
||||
app.Ajax("/anime", search.Get)
|
||||
app.Ajax("/anime/:id", anime.Get)
|
||||
app.Ajax("/genres", genres.Get)
|
||||
|
Reference in New Issue
Block a user