-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support hosted triggers #111
Conversation
c8a1162
to
6b21a60
Compare
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.
Closes #93.
*/ | ||
triggers: Triggers; | ||
triggers?: Triggers; |
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.
Would it make more sense to pass in an explicit url rather than just null? That also gives them the opportunity to self-host if they so please?
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 think we should check with the broader team whether the custom hosting functionality should be an option (has implications on whether we want to support users with that).
The hosting we will do is automatically configured under those specified URL's at all times, what is optional here is the triggers themselves (mostly for backwards-compatibility), which they can get in a two-liner if they want.
Co-authored-by: Jakub Hampl <[email protected]>
? "https://triggers.dev.nlx.ai" | ||
: "https://triggers.nlx.ai"; |
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.
It's https://triggers.dev.mm.nlx.ai
and https://triggers.mm.nlx.ai
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.
@vlad31 oh good point, updated!
e597296
to
3e39d12
Compare
@jakub-nlx also resolves your previous feedback about the
DOMContentLoaded
event being moved inside the SDK method, this will allow the setup script to be a bit simpler.