コミュニティアチーブメントバーを展開する。

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

How do you customize the patch that gets requested by SPA Page Model Manager's `ModelManager.initialize()`?

Avatar

Level 1

I did see the apiHost option, but any guidance around this would be much appreciated!

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

SPA
1 受け入れられたソリューション

Avatar

正解者
Level 1

Looks like I found the answer. In case others are looking for this you can use something like this:

```

let modelClient = new ModelClient();
ModelManager.initialize({
path: [YOUR PATH HERE...],
modelClient
})

```

Note, you _dont_ want to include the host (really the entire origin) as part of that path though 🙂

元の投稿で解決策を見る

1 返信

Avatar

正解者
Level 1

Looks like I found the answer. In case others are looking for this you can use something like this:

```

let modelClient = new ModelClient();
ModelManager.initialize({
path: [YOUR PATH HERE...],
modelClient
})

```

Note, you _dont_ want to include the host (really the entire origin) as part of that path though 🙂