Skip to content

Commit 27aa89f

Browse files
authored
fix public path for roadrunner (#792)
Co-authored-by: Danylo Kolodij <[email protected]>
1 parent 8c57d7d commit 27aa89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/StartRoadRunnerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve
8484
'-o', 'http.pool.max_jobs='.$this->option('max-requests'),
8585
'-o', 'rpc.listen=tcp://'.$this->rpcHost().':'.$this->rpcPort(),
8686
'-o', 'http.pool.supervisor.exec_ttl='.$this->maxExecutionTime(),
87-
'-o', 'http.static.dir='.base_path('public'),
87+
'-o', 'http.static.dir='.public_path(),
8888
'-o', 'http.middleware='.config('octane.roadrunner.http_middleware', 'static'),
8989
'-o', 'logs.mode=production',
9090
'-o', 'logs.level='.($this->option('log-level') ?: (app()->environment('local') ? 'debug' : 'warn')),

0 commit comments

Comments
 (0)