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

[tag]0.1-vcci

parents eb302b22 9fe5f969
Pipeline #50710 passed with stages
in 1 minute and 44 seconds
...@@ -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 DEFAULT_FRONTEND_ORIGIN = "https://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