inlines secret fetching for auth to remove postinstall step

This commit is contained in:
2024-08-20 08:25:02 -06:00
parent 5f2243b49a
commit 545656cf22
2 changed files with 52 additions and 44 deletions

View File

@@ -5,8 +5,8 @@ if (!globalThis.Secrets) {
"https://dragonshoard.cyborggrizzly.com",
process.env.NODE_ENV === "development"
? "./.dragonshoard"
: "/.dragonshoard",
: "/.dragonshoard"
);
}
export const SecretClient = () => globalThis.Secrets;
export const SecretClient = (): DHSecretClient => globalThis.Secrets;