rstudio / rsconnect

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

addConnectServer normalizes URLs; addServer does not #877

Closed aronatkins closed 1 year ago

aronatkins commented 1 year ago

The now deprecated addConnectServer() calls ensureConnectServerUrl() to make sure that the URL has the required parts.

rsconnect:::ensureConnectServerUrl("https://colorado.posit.co/rsc/")
#> [1] "https://colorado.posit.co/rsc/__api__"

Most users will forget to include the __api__ path segment.

addServer() should ensureConnectServerUrl().

aronatkins commented 1 year ago

Local testing is not showing a problem.