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)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.