Commit 32b1fe9d authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

update/api endpoint

parent 0da7a450
...@@ -12,10 +12,16 @@ const nextConfig: NextConfig = { ...@@ -12,10 +12,16 @@ const nextConfig: NextConfig = {
}, },
{ {
protocol: "https", protocol: "https",
hostname: "vcci-hcm.org.vn", // WordPress / media host hostname: "vcci-hcm.org.vn",
port: "", port: "",
pathname: "/wp-content/uploads/**", pathname: "/wp-content/uploads/**",
}, },
{
protocol: "http",
hostname: "103.72.98.149",
port: "7041",
pathname: "/images/**",
},
], ],
}, },
}; };
......
const backendHost = 'gateway.dev.meu-solutions.com' const backendHost = '103.72.98.149:7041'
const links = { const links = {
analyticsGoogle: 'G-C9TEK9BS4C', analyticsGoogle: 'G-C9TEK9BS4C',
// apiEndpoint: "http://localhost:3000/api/v1.0", // apiEndpoint: "http://localhost:3000/api/v1.0",
apiEndpoint: `https://${backendHost}/vcci/api/v1.0`, apiEndpoint: `http://${backendHost}/api/v1.0`,
// imageEndpoint: 'https://utc2.erp.meu-solutions.com', // imageEndpoint: 'https://utc2.erp.meu-solutions.com',
imageEndpoint: `https://${backendHost}/vcci`, imageEndpoint: `http://${backendHost}`,
backendHost, backendHost,
siteURL: 'https://hiea.meu-solutions.com/', siteURL: 'https://hiea-news.meu-solutions.com/',
} }
export default links export default links
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