restarting pleroma from outside application

This commit is contained in:
Alexander Strizhakov 2020-01-25 18:42:04 +03:00
commit e93cc561cd
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
9 changed files with 231 additions and 35 deletions

View file

@ -197,6 +197,7 @@ defmodule Pleroma.Web.Router do
post("/config", AdminAPIController, :config_update)
get("/config/descriptions", AdminAPIController, :config_descriptions)
get("/config/migrate_from_db", AdminAPIController, :migrate_from_db)
get("/restart", AdminAPIController, :restart)
get("/moderation_log", AdminAPIController, :list_log)