addResourcePath: create staticPath object immediately. Fixes #2339

This commit is contained in:
Winston Chang
2019-02-27 11:12:55 -06:00
parent d8b8739cb8
commit f18c426151

View File

@@ -70,7 +70,7 @@ addResourcePath <- function(prefix, directoryPath) {
}
# .globals$resourcePaths persists across runs of applications.
.globals$resourcePaths[[prefix]] <- normalizedPath
.globals$resourcePaths[[prefix]] <- staticPath(normalizedPath)
}
#' Define Server Functionality