next.config.mjs 492 B

123456789101112131415161718192021222324
  1. /** @type {import('next').NextConfig} */
  2. const nextConfig = {
  3. images: {
  4. remotePatterns: [
  5. {
  6. protocol: "https",
  7. hostname: "games.the-afc.com",
  8. port: "",
  9. pathname: "/predictor/static-assets/build/images/clubs/**",
  10. },
  11. {
  12. protocol: "https",
  13. hostname: "via.placeholder.com",
  14. port: "",
  15. pathname: "/**",
  16. },
  17. ],
  18. },
  19. env: {
  20. MONGODB_URI: process.env.MONGODB_URI,
  21. },
  22. };
  23. export default nextConfig;