Skip to content

Commit

Permalink
fix: cdn fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hubert committed Aug 8, 2024
1 parent 1d86108 commit 6d64532
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions clients/vue-web/build.cdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,16 @@ const cdnConfig = {
// variableName: ['VueAsync', 'ModuleLoader'],
// path: '/dist/module-loader.umd.production.js',
// },
// 依赖 window.Vue, 临时通过打包解决
// {
// packageName: '@vue-async/resource-manager',
// variableName: ['VueAsync', 'ResourceManager'],
// path: '/dist/resource-manager.umd.production.js',
// },
{
packageName: '@vue-async/resource-manager',
variableName: ['VueAsync', 'ResourceManager'],
path: '/dist/resource-manager.umd.production.js',
packageName: '@iconfu/svg-inject',
variableName: 'SVGInject',
path: '/dist/svg-inject.min.js',
},
],
};
Expand Down
2 changes: 1 addition & 1 deletion clients/vue-web/env/env.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var env = window._ENV || {};

// env.infrastructureApiBase = 'http://localhost:5003/api';
env.identityGraphqlBase = '/identity/graphql';
env.identityGraphqlBase = 'http://localhost:5002/graphql';
env.infrastructureGraphqlBase = 'http://localhost:5003/graphql';
env.infrastructureGraphqlSubscriptionBase = 'ws://localhost:5003/graphql';

Expand Down

0 comments on commit 6d64532

Please sign in to comment.