International Rice Research Institute commited on
Commit
cc38c12
·
verified ·
1 Parent(s): f975d06

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +4 -1
app.R CHANGED
@@ -1248,4 +1248,7 @@ server <- function(input, output, session) {
1248
  }
1249
 
1250
  # Run the Shiny app
1251
- shinyApp(ui, server)
 
 
 
 
1248
  }
1249
 
1250
  # Run the Shiny app
1251
+ shinyApp(ui, server)
1252
+ # Add health check middleware
1253
+ app$staticPaths <- list("/health" = httpuv::staticPath(system.file("health", package = "shiny")))
1254
+ app