rstudio / rsconnect

Publish Shiny Applications, RMarkdown Documents, Jupyter Notebooks, Plumber APIs, and more
http://rstudio.github.io/rsconnect/
131 stars 79 forks source link

Export `validateServerUrl()`? #944

Open hadley opened 11 months ago

hadley commented 11 months ago

I'm exploring ways to better handle this in pins, but currently if you attempt to write a pin in a server that's been renamed, you get an uninformative error ("necessary data rewind wasn't possible") because we're POSTing after a re-direct. Even if that's fixed, it's still best to avoid the redirect, so it would be nice to call validateServerUrl() when the board is established so we can get the user to update.