Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit daf34f6

Browse files
authored
Migrate country-service over to atlas (#168)
1 parent 9366831 commit daf34f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/theme-addresses/__tests__/theme-addresses.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import meta from '../__fixtures__/meta.json';
1515
describe('AddressForm', () => {
1616
beforeAll(() => {
1717
fetchMock.mock(
18-
'https://country-service.shopifycloud.com/graphql',
18+
'https://atlas.shopifysvc.com/graphql',
1919
countries
2020
);
2121

packages/theme-addresses/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var query = "query countries($locale: SupportedLocale!) {"
2424
+ " }"
2525
+ "}";
2626

27-
var GRAPHQL_ENDPOINT = 'https://country-service.shopifycloud.com/graphql';
27+
var GRAPHQL_ENDPOINT = 'https://atlas.shopifysvc.com/graphql';
2828

2929
export function loadCountries(locale) {
3030
var response = fetch(GRAPHQL_ENDPOINT, {

0 commit comments

Comments
 (0)