View source: R/set_config_env.R
set_config_env | R Documentation |
Determines if the app is deployed to a server or running locally, and adjusts
the config environment to "production"
or "default"
, respectively. This function
is almost always called in the global.R
file of a Shiny app immediately before
the configuration in the config.yml
is read in.
set_config_env(override = NULL)
override |
Set the environment to |
invisible(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.