改进 Edge 发布命令

This commit is contained in:
iVampireSP.com 2023-02-28 20:48:54 +08:00
parent 2658591079
commit 88a299bbd2
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -31,7 +31,7 @@ public function handle(): int
$node_id = $this->option('node-id') ?? Str::random(8);
// 读取 stubs/edge.stub
$stub = file_get_contents(base_path('stubs/edge.stub'));
$stub = file_get_contents(base_path('stubs/edge'));
// 替换 stubs/edge.stub 中的内容
$redis_host = config('database.redis.default.host');