We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 392ba21 commit 83c66d7Copy full SHA for 83c66d7
1 file changed
src/plugins/newsfeed/public/plugin.tsx
@@ -51,7 +51,10 @@ export class NewsfeedPublicPlugin
51
return {
52
createNewsFeed$: (endpoint: NewsfeedApiEndpoint) => {
53
const config = Object.assign({}, this.config, {
54
- service: { pathTemplate: `/${endpoint}/v{VERSION}.json` },
+ service: {
55
+ ...this.config.service,
56
+ pathTemplate: `/${endpoint}/v{VERSION}.json`,
57
+ },
58
});
59
return this.fetchNewsfeed(core, config);
60
},
0 commit comments