Files
portfolio/next.config.ts
Denshooter b87b1d6237 refactor: use environment variable for GHOST_API_KEY
Replace hardcoded GHOST_API_KEY with process.env.GHOST_API_KEY in 
API routes to enhance security. Update Docker commands in the CI 
workflow to pass the GHOST_API_KEY as an environment variable. 
Add GHOST_API_KEY to the Next.js configuration for consistent 
access across the application.
2025-02-12 17:30:31 +01:00

10 lines
165 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
env: {
GHOST_API_KEY: process.env.GHOST_API_KEY,
},
};
export default nextConfig;