✨ Trigger fediverse scan by API
This commit is contained in:
10
pkg/internal/http/admin/index.go
Normal file
10
pkg/internal/http/admin/index.go
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user