fix(web): getDefaultApiUrl should handle stage.roleypoly.com as stage

This commit is contained in:
41666 2021-03-13 04:55:20 -05:00
parent cd448b56c9
commit a87ccd9c54
2 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,7 @@ import { getDefaultApiUrl } from './getDefaultApiUrl';
it.each([
['https://next.roleypoly.com/servers', 'https://api-prod.roleypoly.com'],
['https://stage.roleypoly.com/servers', 'https://api-stage.roleypoly.com'],
['https://roleypoly.com/servers', 'https://api-prod.roleypoly.com'],
['https://notroleypolybutclose.com/servers', 'https://api-prod.roleypoly.com'],
['https://myhash.roleypoly.pages.dev/servers', 'https://api-stage.roleypoly.com'],