inst/defaults/config.R

packageConfig <- list(
  host = "0.0.0.0",
  port = 8080,
  debug = FALSE,
  dbConnection = setupDatabase(),
  middlewares = c(
                  sessionMiddleware,
                  function(resp, req) {
                    resp <- getResponse(resp, req)
                    resp[["headers"]][["X-SERVER"]] <- "mattR"
                    resp
                  }),
  modules = c(mattR_admin)
)
bobjansen/mattR documentation built on May 9, 2019, 9:57 p.m.