File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,14 +33,15 @@ class MediaWikiHostResolver {
3333 * @throws UnknownDBVersionException
3434 * @throws UnknownWikiDomainException
3535 */
36- public function getHostsForDomain (String $ domain ): array {
36+ public function getHostsForDomain (String $ domain ): array {
3737 $ mwVersionForDomain = $ this ->getMwVersionForDomain ($ domain );
38+
3839 // TODO: Move host to an env variable (e.g. PLATFORM_MW_BACKEND_HOST_SUFFIX) for flexibility.
3940 return [
4041 'web ' => sprintf ('mediawiki-%s-app-web.default.svc.cluster.local ' , $ mwVersionForDomain ),
4142 'backend ' => sprintf ('mediawiki-%s-app-backend.default.svc.cluster.local ' , $ mwVersionForDomain ),
4243 'api ' => sprintf ('mediawiki-%s-app-api.default.svc.cluster.local ' , $ mwVersionForDomain ),
43- 'alpha ' => sprintf ('mediawiki-%s-app-alpha.default.svc.cluster.local ' , $ mwVersionForDomain )
44+ 'alpha ' => sprintf ('mediawiki-%s-app-alpha.default.svc.cluster.local ' , $ mwVersionForDomain ),
4445 ];
4546 }
4647
You can’t perform that action at this time.
0 commit comments