Skip to content

Commit

Permalink
feat(com-pwa): add cdn to config
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Feb 11, 2023
1 parent 8ee2f44 commit fc60912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions uniquely/com-pwa/res/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
window.appConfig = {
api: '/api/v0',
cdn: '/image/',
token: '3584fd6c82b5b76568a7f770846be94af9b7a879eb2274f2c0121ccc58d112ee',
};
1 change: 1 addition & 0 deletions uniquely/com-pwa/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import {getConfKey} from '@alwatr/pwa-helper/config.js';

export const config = {
api: getConfKey<string>('api'),
cdn: getConfKey<string>('cdn'),
token: getConfKey<string>('token'),
};

0 comments on commit fc60912

Please sign in to comment.