Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ VITE_WINSTON_PHONE="encrypted:BP4EAJrsRzJvQYX/4nkegEPQnlodB1epCE6tcxNEZcLPYffJp7
USER_VM_PORT=3999
USER_VM_HOST=app.fluidposts.com

SEO_INBOUND_API_KEY="encrypted:BHRXyjXPqLilb52xbz+EfCuPbd6gPcnVvNTraJRV25A6JvqERM0HS+pGEDiUvLg7sOFhGA56LAEPCTjjmKvjuDQYZ3Zf4PTsHC1qTkDqQKlJ9ZP2N/vm5ImQjUwBZTHtQUbT+HFXuHjtwHZ5ZY5lNzGzYX7X7dQGPbRuCsCAtOUQ"
SEO_INBOUND_API_KEY="encrypted:BEb4X1BXjEimzGGWsi/ebv8dn2LMsnzCPNJBC0l+skWX5hK5FlQ4KhJNIu9fAfW68Ja8qr8FZp948YHet8fB+M6c3Lh6rQNLoc9cc77jxYZ1o/EprPcnIAxwRhFH1P+7RZLqNq1T9GE5P1S9hrVjTjRJ5HcSfS0HqZNnfyos6utV9vgtrgKo5PkCjdm/Q229eqcnDmxh+qZJkSXCHq2HyWheJd1NoRTD6pR57Q=="

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The environment variable SEO_INBOUND_API_KEY is being updated, but it doesn't appear to be defined in any of the environment validation schemas (e.g., in packages/api-seo/src/env.ts). This could mean the variable is not being used, or it's being accessed without validation, which could lead to runtime errors in production.

To ensure this variable is correctly validated and accessible throughout the application, please consider adding it to the server-side environment schema in packages/api-seo/src/env.ts:

// packages/api-seo/src/env.ts
export const apiEnv = () =>
  createEnv({
    // ...
    server: {
      // ...
      SEO_INBOUND_API_KEY: type("string"),
      // ...
    },
    // ...
  });

If this variable is intentionally not part of the schema or is defined in a file not included in the context, please ignore this comment. However, for maintainability and type safety, it's highly recommended to declare all environment variables.

VITE_AUTH_SEO_CREDENTIAL_VERIFICATION_TYPE="code"
AUTH_SEO_CREDENTIAL_VERIFICATION_TYPE="code"
AUTH_SEO_ENCRYPTION_KEY="encrypted:BB7GTM5rZHiQxZ8UNUnajRL+QRCxDuSZvOfcrsqrQIFtLTrM/p0Xhc6zDnZnDDnShczhi4m1eaHq5cZWBuzjMUfv2CpnU4yPxZYuOMRsKjY1mQ/DztxYMT5tH42+QCMxA1bU6sJCdDnWwFPqx0DcL30oxCkxuaWzBmeHpmEPAcjV/NHtZ9pbm87cdXtj"
Expand Down
Loading