next.config.ts 542 B

12345678910111213141516171819202122232425262728
  1. import type { NextConfig } from "next";
  2. const nextConfig: NextConfig = {
  3. images: {
  4. remotePatterns: [
  5. {
  6. protocol: "http",
  7. hostname: "192.168.124.9",
  8. port: "8080",
  9. pathname: "/uploads/**",
  10. },
  11. {
  12. protocol: "http",
  13. hostname: "localhost",
  14. port: "8080",
  15. pathname: "/uploads/**",
  16. },
  17. {
  18. protocol: "http",
  19. hostname: "127.0.0.1",
  20. port: "8080",
  21. pathname: "/uploads/**",
  22. },
  23. ],
  24. },
  25. };
  26. export default nextConfig;