Nothing
library(shiny)
ui <- reactRouter::HashRouter(
reactRouter::Routes(
reactRouter::Route(
path = "/",
element = div(id = "homePage", tags$p("home"))
),
reactRouter::Route(
path = "old",
element = reactRouter::Navigate(to = "/new", replace = TRUE)
),
reactRouter::Route(
path = "new",
element = div(id = "newPage", tags$p("new page"))
)
)
)
server <- function(input, output, session) {}
shinyApp(ui, server)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.