Skip to content

Instantly share code, notes, and snippets.

@jobonaf
Created June 22, 2017 12:35
Show Gist options
  • Save jobonaf/c5cb2773f2aa623a0ddf9b6d25448008 to your computer and use it in GitHub Desktop.
Save jobonaf/c5cb2773f2aa623a0ddf9b6d25448008 to your computer and use it in GitHub Desktop.
shiny app redirection
server <- function(input, output, session) {}
ui <- fluidPage(singleton(tags$head(tags$script('window.location.replace("https://sdati.arpae.it/calicantus-intro");'))))
shinyApp(ui = ui, server = server)
@jobonaf
Copy link
Author

jobonaf commented Jun 22, 2017

ultra-compact Shiny app to redirect to another URL (in the gist the URL is https://sdati.arpae.it/calicantus-intro)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment