Skip to content

Conversation

@lorenzdiener
Copy link

closes #27

In order to support self hosted PostHog instances I switched the ui_host setting from type enum to string. A downside is that users will have to provide the URL also when PostHog cloud services now. I updated the field description accordingly. The settings were similar (string instead of enum) before they were changed to a select option in 451f9de. I do not know why that change has been made (probably to make configuration easier) and if it's feasible to return to the old state.

A more complicated solution would be to offer an additional enum option "self hosted" and a text field that is only visible when self hosted is selected.

DISCLAIMER: I did not manage to set up the app in a dev store in short time (at the end I failed with the prisma setup) and though were not able to test my changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support custom values for "ui_host in JS Web Config settings to support self hosted PostHog instances

1 participant