Commit 9fe5f969 authored by Lê Bảo Hồng Đức's avatar Lê Bảo Hồng Đức

fix

parent 55280bfe
...@@ -26,6 +26,12 @@ const nextConfig: NextConfig = { ...@@ -26,6 +26,12 @@ const nextConfig: NextConfig = {
port: "", port: "",
pathname: "/images/**", pathname: "/images/**",
}, },
{
protocol: "https",
hostname: "news.vccihcm.vn",
port: "",
pathname: "/uploads/**",
},
], ],
}, },
}; };
......
const DEFAULT_BACKEND_ORIGIN = "https://vietprodev.duckdns.org/gateway/vcci-news-backend"; const DEFAULT_BACKEND_ORIGIN = "https://news.vccihcm.vn";
const normalizeOrigin = (value?: string | null) => value?.trim().replace(/\/+$/, "") || ""; const normalizeOrigin = (value?: string | null) => value?.trim().replace(/\/+$/, "") || "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment