From ecfb9ce8b01a94133533e2c41b8b3532bbe3ce17 Mon Sep 17 00:00:00 2001 From: Snorlax Date: Sat, 11 Dec 2021 21:24:27 +0800 Subject: [PATCH 1/3] Fix Surge Subscribing issue --- app/Http/Controllers/Client/Protocols/Surge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Client/Protocols/Surge.php b/app/Http/Controllers/Client/Protocols/Surge.php index b93b1836..96819437 100644 --- a/app/Http/Controllers/Client/Protocols/Surge.php +++ b/app/Http/Controllers/Client/Protocols/Surge.php @@ -52,8 +52,8 @@ class Surge } // Subscription link - $subsURL = config('v2board.subscribe_url', config('v2board.app_url', env('APP_URL'))) . '/api/v1/client/subscribe?token=' . $user['token']; $subsDomain = $_SERVER['SERVER_NAME']; + $subsURL = 'https://' . $subsDomain . '/api/v1/client/subscribe?token=' . $user['token']; $config = str_replace('$subs_link', $subsURL, $config); $config = str_replace('$subs_domain', $subsDomain, $config); From 552a80f5f990b34768e2e47181e53757ad0badb6 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Fri, 31 Dec 2021 23:55:23 +0800 Subject: [PATCH 2/3] update: fix admin dark mode --- config/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index f027f73a..83e19dbd 100755 --- a/config/app.php +++ b/config/app.php @@ -237,5 +237,5 @@ return [ | The only modification by laravel config | */ - 'version' => '1.5.4.1640964602459' + 'version' => '1.5.4.1640966110216' ]; From f56a943c3549757f3aeeff76869df256ada67686 Mon Sep 17 00:00:00 2001 From: tokumeikoi <58434450+tokumeikoi@users.noreply.github.com> Date: Fri, 16 Dec 2022 02:56:28 +0800 Subject: [PATCH 3/3] update: issue templates --- .../ISSUE_TEMPLATE/bug-report----问题反馈.md | 35 +++++++++++++++++++ .../feature-request---功能请求.md | 11 ++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report----问题反馈.md create mode 100644 .github/ISSUE_TEMPLATE/feature-request---功能请求.md diff --git a/.github/ISSUE_TEMPLATE/bug-report----问题反馈.md b/.github/ISSUE_TEMPLATE/bug-report----问题反馈.md new file mode 100644 index 00000000..04c101fe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report----问题反馈.md @@ -0,0 +1,35 @@ +--- +name: Bug report | 问题反馈 +about: Tell us what problems you have encountered +title: "[BUG]" +labels: '' +assignees: '' + +--- + +The V2Board version number you are using +当前使用的V2Board版本号 +-------- + + +Briefly describe the problem you are experiencing +简单描述你遇到的问题 +-------- + + + +Screenshot of the reported error(Please do desensitization) +报告错误的截图(请做脱敏处理) +-------- + + + +Screenshot of the reported error(Please do desensitization) +报告错误的截图(请做脱敏处理) +-------- + + + +The latest log files in the storage/logs directory report from #1 (Please do desensitization) +storage/logs 目录下最新的日志文件从 #1 开始报告(请做脱敏处理) +-------- diff --git a/.github/ISSUE_TEMPLATE/feature-request---功能请求.md b/.github/ISSUE_TEMPLATE/feature-request---功能请求.md new file mode 100644 index 00000000..f025311b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request---功能请求.md @@ -0,0 +1,11 @@ +--- +name: Feature request | 功能请求 +about: Tell us what you need +title: "[Feature request]" +labels: '' +assignees: '' + +--- + +Please describe in detail the problems or needs you have encountered. +请详细描述你遇到的问题或需求。