Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as Scrivito from "scrivito";
const config = { tenant: process.env.SCRIVITO_TENANT };
if (process.env.SCRIVITO_ORIGIN) {
config.origin = process.env.SCRIVITO_ORIGIN;
}
Scrivito.configure(config);