Skip to content

Commit

Permalink
fix(icon): use cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciomutte committed Aug 10, 2023
1 parent 02b6577 commit db1023d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/icon/icon.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/components/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit db1023d

Please sign in to comment.