test redirect host configuration
This commit is contained in:
parent
3704a2800f
commit
a5fb2143dc
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ let
|
||||||
assertion = frontendConfig.apiBaseUrl == "https://api.rabbigerzi.com";
|
assertion = frontendConfig.apiBaseUrl == "https://api.rabbigerzi.com";
|
||||||
message = "Rabbi Gerzi frontend does not use the production API";
|
message = "Rabbi Gerzi frontend does not use the production API";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
assertion = frontendConfig.redirectHostNames == [ "www.rabbigerzi.com" ];
|
||||||
|
message = "Rabbi Gerzi frontend redirect hosts are not configured";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
assertion = backendConfig.hostName == "api.rabbigerzi.com";
|
assertion = backendConfig.hostName == "api.rabbigerzi.com";
|
||||||
message = "Rabbi Gerzi backend does not use the production API domain";
|
message = "Rabbi Gerzi backend does not use the production API domain";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue