mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Add customize to handlers
This commit is contained in:
parent
a73063f279
commit
76526916eb
@ -52,7 +52,10 @@ from app.classes.web.routes.api.users.user.permissions import (
|
||||
from app.classes.web.routes.api.users.user.api import ApiUsersUserKeyHandler
|
||||
from app.classes.web.routes.api.users.user.pfp import ApiUsersUserPfpHandler
|
||||
from app.classes.web.routes.api.users.user.public import ApiUsersUserPublicHandler
|
||||
from app.classes.web.routes.api.crafty.config.index import ApiCraftyConfigIndexHandler
|
||||
from app.classes.web.routes.api.crafty.config.index import (
|
||||
ApiCraftyConfigIndexHandler,
|
||||
ApiCraftyCustomizeIndexHandler,
|
||||
)
|
||||
from app.classes.web.routes.api.crafty.config.server_dir import (
|
||||
ApiCraftyConfigServerDirHandler,
|
||||
)
|
||||
@ -79,6 +82,11 @@ def api_handlers(handler_args):
|
||||
ApiCraftyConfigIndexHandler,
|
||||
handler_args,
|
||||
),
|
||||
(
|
||||
r"/api/v2/crafty/config/customize/?",
|
||||
ApiCraftyCustomizeIndexHandler,
|
||||
handler_args,
|
||||
),
|
||||
(
|
||||
r"/api/v2/crafty/config/servers_dir/?",
|
||||
ApiCraftyConfigServerDirHandler,
|
||||
|
Loading…
x
Reference in New Issue
Block a user