Fix wrong preview url hostname
This commit is contained in:
parent
60d24e0072
commit
4d84cb2e45
2 changed files with 4 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit f0f0b050fc51871206a4bb729f1c11592f7e8c2f
|
||||
Subproject commit 495a9c25302bb79156773ef0668b3eef07ce3dd1
|
|
@ -178,7 +178,9 @@ class Executor
|
|||
array $headers,
|
||||
string $runtimeEntrypoint = null,
|
||||
) {
|
||||
$headers['host'] = App::getEnv('_APP_DOMAIN', '');
|
||||
if(empty($headers['host'])) {
|
||||
$headers['host'] = App::getEnv('_APP_DOMAIN', '');
|
||||
}
|
||||
|
||||
$runtimeId = "$projectId-$deploymentId";
|
||||
$route = '/runtimes/' . $runtimeId . '/execution';
|
||||
|
|
Loading…
Reference in a new issue