Skip to content

Commit

Permalink
fix cdn url
Browse files Browse the repository at this point in the history
  • Loading branch information
Engin Diri committed Feb 26, 2021
1 parent f95645b commit 75b2f1a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 19 deletions.
42 changes: 28 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@schwarzit/runs-on-stackit",
"version": "0.0.7",
"version": "0.0.8",
"description": "With the STACKIT-Badge you can mark internal and external websites and applications that run on, are sponsored or supported by STACKIT.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"main": "./dist/index.cjs.js",
"module": "./dist/index.js",
"es2015": "dist/esm/index.mjs",
"es2017": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
Expand All @@ -21,7 +21,7 @@
"generate": "stencil generate"
},
"devDependencies": {
"@stencil/core": "^1.16.4"
"@stencil/core": "^2.4.0"
},
"license": "MIT",
"homepage": "https://github.com/SchwarzIT/runs-on-stackit",
Expand Down
2 changes: 1 addition & 1 deletion src/components/stackit-badge/stackit-badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class STACKITBadgeComponent {
}

private getSrc() {
return this.cdn ? 'https://cdn.apps.eu01.cloud.schwarz/assets/img/' + this.getHostType() + '-STACKIT-' + this.getBadgeType() + '-' + this.getBadgeColorScheme() + '.svg' :
return this.cdn ? 'https://cdn.apps.01.cf.eu01.stackit.cloud/assets/img/' + this.getHostType() + '-STACKIT-' + this.getBadgeType() + '-' + this.getBadgeColorScheme() + '.svg' :
getAssetPath('../assets/stackit-' + this.badgeType + '/' + this.getHostType() + '-STACKIT-' + this.getBadgeType() + '-' + this.getBadgeColorScheme() + '.svg')
}

Expand Down

0 comments on commit 75b2f1a

Please sign in to comment.