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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

add parameter access to servr::server_config() from sandpaper::serve() #459

Closed
zkamvar opened this issue May 16, 2023 · 0 comments 路 Fixed by #461
Closed

add parameter access to servr::server_config() from sandpaper::serve() #459

zkamvar opened this issue May 16, 2023 · 0 comments 路 Fixed by #461

Comments

@zkamvar
Copy link
Contributor

zkamvar commented May 16, 2023

Unfortunately the server_config snippet above doesn't seem to work for me. For example, if we try R -e 'servr::server_config(host = "192.168.1.10", port = "5000"); sandpaper::serve()' it will still serve on 127.0.0.1 and port 4321.

馃槱 that's what I get for testing with just the default config. I will add an ellipses to the serve function in the next release so that you should be able to run sandaper::serve(host = "192.168.1.10", port = "5000")

For reference, this is the documentation of those options that will be available:

https://yihui.r-universe.dev/servr/doc/manual.html#server_config

Originally posted by @zkamvar in carpentries/workbench#50 (comment)

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 a pull request may close this issue.

1 participant