refactor: env validation typescript and common package (#1912)
This commit is contained in:
1 parent
a03a01b964
commit
1fd3fd8dfb
36 files changed
+98
-83
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import type { SupportedAuthProvider } from "@homarr/definitions";
|
||||
|
||||
import { env } from "../env.mjs";
|
||||
import { env } from "../env";
|
||||
|
||||
export const isProviderEnabled = (provider: SupportedAuthProvider) => {
|
||||
// The question mark is placed there because isProviderEnabled is called during static build of about page
|
||||
|
||||
Reference in new issue
Block a user