summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-01 06:51:29 +0200
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-10-16 07:10:00 +0000
commitf612c264bbd21288e41866756bb151e133686df3 (patch)
tree364843f65670290064479d8b6385a2993bb13785 /appinfo/routes.php
parent14addf399445650c53cf12238815e36ab9da5b3e (diff)
Non-cropped layout
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 46da55c7..b3b3a3d2 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -23,6 +23,8 @@
return [
'routes' => [
+ ['name' => 'api#setUserConfig', 'url' => '/api/v1/config/{key}', 'verb' => 'PUT'],
+
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#index', 'url' => '/videos', 'verb' => 'GET', 'postfix' => 'videos'],
['name' => 'page#index', 'url' => '/favorites', 'verb' => 'GET', 'postfix' => 'favorites'],