Trigger fediverse scan by API

This commit is contained in:
2025-03-12 00:17:55 +08:00
parent 951713b37f
commit f0216bf770
4 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,10 @@
package admin
import "github.com/gofiber/fiber/v2"
func MapControllers(app *fiber.App, baseURL string) {
admin := app.Group(baseURL)
{
admin.Post("/fediverse", adminTriggerFediverseFetch)
}
}