diff --git a/.gitpod/gitpod.settings.php b/.gitpod/gitpod.settings.php index f3848ff72..08fb216d2 100644 --- a/.gitpod/gitpod.settings.php +++ b/.gitpod/gitpod.settings.php @@ -1,3 +1,13 @@ DRUPAL_ROOT . '/../keys/saml/workgroup_api.cert', + 'key' => DRUPAL_ROOT . '/../keys/saml/workgroup_api.key', +]; \ No newline at end of file diff --git a/.gitpod/sites.php b/.gitpod/sites.php index 59e2bf967..361804e30 100644 --- a/.gitpod/sites.php +++ b/.gitpod/sites.php @@ -5,11 +5,7 @@ $workspace_url = getenv('GITPOD_WORKSPACE_URL'); $workspace_domain = preg_replace('/^.*?\/\//', '', $workspace_url); -// For each directory with a settings.php file, create possible combinations -// of the urls for that directory. A single underscore `_` in the direcotry name -// represents a dash `-` in the url. A double underscore represents a period `.` -// in the url. Using this standard we can easily keep track of what urls is for -// each site directory. +$port = 8002; foreach ($settings as $settings_file) { $site_dir = str_replace(__DIR__ . '/', '', $settings_file); $site_dir = str_replace('/settings.php', '', $site_dir); @@ -19,4 +15,5 @@ } $sites["$port-$workspace_domain"] = $site_dir; -} \ No newline at end of file + $port++; +}