International Rice Research Institute commited on
Update app.R
Browse files
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
|