改进 Edge 发布命令
This commit is contained in:
parent
2658591079
commit
88a299bbd2
@ -31,7 +31,7 @@ public function handle(): int
|
|||||||
$node_id = $this->option('node-id') ?? Str::random(8);
|
$node_id = $this->option('node-id') ?? Str::random(8);
|
||||||
|
|
||||||
// 读取 stubs/edge.stub
|
// 读取 stubs/edge.stub
|
||||||
$stub = file_get_contents(base_path('stubs/edge.stub'));
|
$stub = file_get_contents(base_path('stubs/edge'));
|
||||||
|
|
||||||
// 替换 stubs/edge.stub 中的内容
|
// 替换 stubs/edge.stub 中的内容
|
||||||
$redis_host = config('database.redis.default.host');
|
$redis_host = config('database.redis.default.host');
|
||||||
|
Loading…
Reference in New Issue
Block a user