From 2c408a2f56855c4fc3cfbb1033492751e1f33b35 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Fri, 7 May 2021 00:15:30 +0900 Subject: [PATCH] update --- app/Http/Controllers/Guest/CommController.php | 18 ++++++++++++++++++ app/Http/Routes/GuestRoute.php | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 app/Http/Controllers/Guest/CommController.php diff --git a/app/Http/Controllers/Guest/CommController.php b/app/Http/Controllers/Guest/CommController.php new file mode 100644 index 00000000..47ca9928 --- /dev/null +++ b/app/Http/Controllers/Guest/CommController.php @@ -0,0 +1,18 @@ + [ + 'tos_url' => config('v2board.tos_url') + ] + ]); + } +} diff --git a/app/Http/Routes/GuestRoute.php b/app/Http/Routes/GuestRoute.php index f1fb5834..f79fc3d5 100644 --- a/app/Http/Routes/GuestRoute.php +++ b/app/Http/Routes/GuestRoute.php @@ -22,6 +22,8 @@ class GuestRoute $router->post('/telegram/webhook', 'Guest\\TelegramController@webhook'); // Payment $router->match(['get', 'post'], '/payment/notify/{method}/{id}', 'Guest\\PaymentController@notify'); + // Comm + $router->get ('/comm/config', 'Guest\\CommController@config'); }); } }