Added text export
This commit is contained in:
12
pages/index/exportroutes/exportroutes.go
Normal file
12
pages/index/exportroutes/exportroutes.go
Normal file
@ -0,0 +1,12 @@
|
||||
package exportroutes
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/pages/export"
|
||||
)
|
||||
|
||||
// Register registers the page routes.
|
||||
func Register(app *aero.Application) {
|
||||
app.Get("/user/:nick/animelist/export/text", export.Text)
|
||||
app.Get("/user/:nick/animelist/export/json", export.JSON)
|
||||
}
|
Reference in New Issue
Block a user