staticPathOptions | R Documentation |
Create options for static paths
staticPathOptions(
indexhtml = TRUE,
fallthrough = FALSE,
html_charset = "utf-8",
headers = list(),
validation = character(0),
exclude = FALSE
)
indexhtml |
If an index.html file is present, should it be served up when the client requests the static path or any subdirectory? |
fallthrough |
With the default value, |
html_charset |
When HTML files are served, the value that will be
provided for |
headers |
Additional headers and values that will be included in the response. |
validation |
An optional validation pattern. Presently, the only type of
validation supported is an exact string match of a header. For example, if
|
exclude |
Should this path be excluded from static serving? (This is
only to be used internally, for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.