From db1023d0c1d1060d8167b8823dbe4c3f06685cf0 Mon Sep 17 00:00:00 2001 From: Mauricio Mutte Date: Thu, 10 Aug 2023 09:33:53 -0300 Subject: [PATCH] fix(icon): use cdn --- packages/core/src/components/icon/icon.spec.ts | 2 +- packages/core/src/components/icon/icon.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core/src/components/icon/icon.spec.ts b/packages/core/src/components/icon/icon.spec.ts index 87b173282..773d9b632 100644 --- a/packages/core/src/components/icon/icon.spec.ts +++ b/packages/core/src/components/icon/icon.spec.ts @@ -2,7 +2,7 @@ import { newSpecPage } from '@stencil/core/testing' import { AtomIcon } from './icon' -const URL_MOCK = 'https://d2kfdqa8kiizgt.cloudfront.net/atomium/icons' +const URL_MOCK = 'https://cdn.juntossomosmais.com.br/atomium/icons' describe('atom-icon', () => { it('should render ion-icon element', async () => { diff --git a/packages/core/src/components/icon/icon.tsx b/packages/core/src/components/icon/icon.tsx index 71c3ffa1a..b6586855b 100644 --- a/packages/core/src/components/icon/icon.tsx +++ b/packages/core/src/components/icon/icon.tsx @@ -3,8 +3,7 @@ import { Component, Host, Prop, h } from '@stencil/core' import { IconProps } from '../../icons' -// @note: this is a temporary solution using sandbox until we have a proper CDN for our icons -const CDN_URL = 'https://d2kfdqa8kiizgt.cloudfront.net/atomium/icons' +const CDN_URL = 'https://cdn.juntossomosmais.com.br/atomium/icons' @Component({ tag: 'atom-icon',