Skip to content

Commit

Permalink
Fix Vue sample RestLayoutService config (use 'apiHost', not 'endpoint…
Browse files Browse the repository at this point in the history
…') (#804)

(cherry picked from commit 3f1592a)
  • Loading branch information
ambrauer committed Sep 7, 2021
1 parent f8d4412 commit da94f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/vue/src/lib/layout-service-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import config from '../temp/config';
export class LayoutServiceFactory {
create() {
return new RestLayoutService({
endpoint: config.graphQLEndpoint,
apiHost: config.sitecoreApiHost,
apiKey: config.sitecoreApiKey,
siteName: config.jssAppName,
configurationName: 'default',
Expand Down

0 comments on commit da94f5c

Please sign in to comment.