mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: fix v2ray config drawer
This commit is contained in:
parent
b40272a8fa
commit
b18c810f7f
@ -33,13 +33,13 @@ class ConfigController extends Controller
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testSendEmail(Request $request)
|
public function testSendMail(Request $request)
|
||||||
{
|
{
|
||||||
$email = $request->session()->get('email');
|
$email = $request->session()->get('email');
|
||||||
$subject = 'Test Message';
|
$subject = 'This is v2board test email';
|
||||||
try {
|
try {
|
||||||
Mail::raw(
|
Mail::raw(
|
||||||
'Test Message',
|
'This is v2board test email',
|
||||||
function ($message) use ($email, $subject) {
|
function ($message) use ($email, $subject) {
|
||||||
$message->to($email)->subject($subject);
|
$message->to($email)->subject($subject);
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@ class AdminRoute
|
|||||||
$router->get ('/config/getEmailTemplate', 'Admin\\ConfigController@getEmailTemplate');
|
$router->get ('/config/getEmailTemplate', 'Admin\\ConfigController@getEmailTemplate');
|
||||||
$router->get ('/config/getThemeTemplate', 'Admin\\ConfigController@getThemeTemplate');
|
$router->get ('/config/getThemeTemplate', 'Admin\\ConfigController@getThemeTemplate');
|
||||||
$router->post('/config/setTelegramWebhook', 'Admin\\ConfigController@setTelegramWebhook');
|
$router->post('/config/setTelegramWebhook', 'Admin\\ConfigController@setTelegramWebhook');
|
||||||
|
$router->post('/config/testSendMail', 'Admin\\ConfigController@testSendMail');
|
||||||
// Plan
|
// Plan
|
||||||
$router->get ('/plan/fetch', 'Admin\\PlanController@fetch');
|
$router->get ('/plan/fetch', 'Admin\\PlanController@fetch');
|
||||||
$router->post('/plan/save', 'Admin\\PlanController@save');
|
$router->post('/plan/save', 'Admin\\PlanController@save');
|
||||||
|
2
public/assets/admin/umi.css
vendored
2
public/assets/admin/umi.css
vendored
File diff suppressed because one or more lines are too long
2
public/assets/admin/umi.js
vendored
2
public/assets/admin/umi.js
vendored
File diff suppressed because one or more lines are too long
2
public/theme/v2board/assets/umi.js
vendored
2
public/theme/v2board/assets/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user