Added text export

This commit is contained in:
2021-11-22 22:41:53 +09:00
parent 9f133ee752
commit 093385b153
6 changed files with 107 additions and 2 deletions

View 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)
}