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

Throw an informative warning if a subdirectory of www clashes with another static path #2434

Merged
merged 5 commits into from Aug 22, 2019

Conversation

cpsievert
Copy link
Collaborator

See #2433

R/app.R Outdated Show resolved Hide resolved
@wch
Copy link
Collaborator

wch commented May 28, 2019

In the line above

httpuvApp$staticPathOptions <- httpuv::staticPathOptions(
, it would be good to do a pairwise check for conflicts on all the paths that are in httpuvApp$staticPaths. That way, we don't need to special case anything, and we'll also detect conflicts among resourcePaths, and between resourcePaths and session and shared.

Copy link
Collaborator

@wch wch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - just a few comments.

R/server.R Outdated Show resolved Hide resolved
R/server.R Outdated Show resolved Hide resolved
R/server.R Show resolved Hide resolved
@wch wch merged commit 33cdc75 into master Aug 22, 2019
@wch wch deleted the wwwSubDir branch August 22, 2019 21:58
cpsievert added a commit to rstudio/shiny-examples that referenced this pull request Aug 26, 2019
cpsievert added a commit to rstudio/shiny-examples that referenced this pull request Aug 26, 2019
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 this pull request may close these issues.

None yet

2 participants