@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
11 lines (10 loc) • 393 B
JavaScript
//#region src/utils/instance.ts
/**
* Check if the frontendApi ends with a staging domain
*/
function isStaging(frontendApi) {
return frontendApi.endsWith(".lclstage.dev") || frontendApi.endsWith(".stgstage.dev") || frontendApi.endsWith(".clerkstage.dev") || frontendApi.endsWith(".accountsstage.dev");
}
//#endregion
export { isStaging as t };
//# sourceMappingURL=instance-DNaRGwPZ.mjs.map