test
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Waiting to run

This commit is contained in:
2025-12-06 21:23:22 -05:00
parent add1ae525a
commit 1edc0fec18

View File

@@ -11,6 +11,7 @@ interface NextContext {
const environment = process.env.NODE_ENV || "development";
const isValidApiKey = (apiKey: string): boolean => {
console.log(process.env);
const envApiKey = process.env.NEXT_PUBLIC_API_TOKEN;
return apiKey === envApiKey;