Skip to content
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

Implement set_server() #13

Open
jonocarroll opened this issue Feb 28, 2024 · 0 comments
Open

Implement set_server() #13

jonocarroll opened this issue Feb 28, 2024 · 0 comments

Comments

@jonocarroll
Copy link
Owner

This package sets the server to the default public server (in onLoad) if no env var is set, but if the user does set one manually later, it isn't obvious how to "reset" that. Given that we have ntfy_server(), perhaps a way to set that means the user doesn't need to use Sys.setenv() so much.

ntfy_set_server <- function(server = "https://ntfy.sh") {
   Sys.setenv(NTFY_SERVER = server)
}
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

No branches or pull requests

1 participant