Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/provider/src/lib/provider.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ export class ProviderService {
new GoFeatureFlagProvider({
endpoint: process.env.GO_FEATURE_FLAG_URL as string,
}),
available: () => !!process.env.GO_FEATURE_FLAG_WEB_URL,
available: () => !!process.env.GO_FEATURE_FLAG_URL,
url: process.env.GO_FEATURE_FLAG_WEB_URL as string
},
[GO_OFREP_PROVIDER_ID]: {
factory: () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/app/demos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export class Demos extends Component<
[GO_OFREP_PROVIDER_ID]: {
factory: () => {
const ofrepConfig = this.state.availableProviders.find((p) => p.id === GO_OFREP_PROVIDER_ID);
const endpoint = ofrepConfig?.url ?? 'http://localhost:1031';
return new GoFeatureFlagWebProvider({ endpoint }, console);
const baseUrl = ofrepConfig?.url ?? 'http://localhost:1031';
return new OFREPWebProvider({ baseUrl, pollInterval: 1000 }, console);
},
},
[HARNESS_PROVIDER_ID]: {
Expand Down