UNPKG

scrivito

Version:

Scrivito is a professional, yet easy to use SaaS Enterprise Content Management Service, built for digital agencies and medium to large businesses. It is completely maintenance-free, cost-effective, and has unprecedented performance and security.

14 lines (9 loc) 326 B
import { onReset } from 'scrivito_sdk/common'; let treatLocalhostLike: string | undefined; export function setTreatLocalhostLike(url: string): void { treatLocalhostLike = url; } export function getTreatLocalhostLike(): string | undefined { return treatLocalhostLike; } onReset(() => (treatLocalhostLike = undefined));