mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
fix: themes
This commit is contained in:
@ -13,7 +13,7 @@ export const env = (variable: EnvironmentVariable | (string & object)): string |
|
||||
return window.__ENV__[variable];
|
||||
}
|
||||
|
||||
return process?.env?.[variable];
|
||||
return typeof process !== 'undefined' ? process?.env?.[variable] : undefined;
|
||||
};
|
||||
|
||||
export const createPublicEnv = () =>
|
||||
|
||||
Reference in New Issue
Block a user