R/00-configuration.R

config <- modules::module({
    apiBaseUrl <- function() {
      if (Sys.getenv("API_BASE_URL") != "") {
        return(Sys.getenv("API_BASE_URL"))
      } else {
        return(Sys.getenv("API_BASE_URL_DEFAULT", "https://isomemodb.com/api/v1/"))
      }
    }
})

Try the IsoMemo package in your browser

Any scripts or data that you put into this service are public.

IsoMemo documentation built on Nov. 3, 2023, 5:09 p.m.