diff --git a/app/Console/Commands/Cluster/PublishEdge.php b/app/Console/Commands/Cluster/PublishEdge.php index f6e730f..dd2cff9 100644 --- a/app/Console/Commands/Cluster/PublishEdge.php +++ b/app/Console/Commands/Cluster/PublishEdge.php @@ -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');