We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49691ae commit 8ee25ccCopy full SHA for 8ee25cc
2 files changed
ui/nuxt.config.ts
@@ -94,6 +94,7 @@ export default defineNuxtConfig({
94
public: {
95
codefairDomain: process.env.CODEFAIR_APP_DOMAIN,
96
},
97
+ validatorUrl: process.env.VALIDATOR_URL ?? "",
98
99
100
vite: {
ui/server/services/compliance/metadata.ts
@@ -6,7 +6,7 @@ import type { RepositoryProvider } from "../providers/interface";
6
import prisma from "~/server/utils/prisma";
7
import { createId } from "~/server/utils/cuid";
8
9
-const VALIDATOR_URL = process.env.VALIDATOR_URL ?? "";
+const VALIDATOR_URL = useRuntimeConfig().validatorUrl as string;
10
11
// == Types =====================================================================
12
0 commit comments