-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Use local api for self hosted snippets #4807
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Docker builds report
|
Uffizzi Ephemeral Environment
|
Testing via preview link seems to show an issue.
# Conflicts: # frontend/common/constants.ts
This should be resolved now the api url for the sdk docs will adhere to the following
|
Utils.isSaas() || Project.api.startsWith('https://api.flagsmith.com') | ||
? Project.flagsmithClientEdgeAPI | ||
: Project.api, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really know what the solution is here, but we need to account for when Project.api
is just /api/v1
as per the above screenshot.
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
Uses admin api for SDK snippets instead of flagsmith on flagsmith url. Closes #4130
How did you test this code?
Viewed code snippets in all languages