Commit 79f74572 authored by tyyin lan's avatar tyyin lan

build: api域名配置修改

parent 53bece82
export const BASE_URLS: Record<'DEV' | 'PROD', string> = {
DEV: 'https://poc-sit.gsstcloud.com',
PROD: 'https://model-link.gsstcloud.com',
DEV: 'https://super-modellink-sit.gsstcloud.com',
PROD: 'https://super-modellink.gsstcloud.com',
}
export const INDEX_URLS: Record<'DEV' | 'PROD', string> = {
DEV: 'https://poc-sit.gsstcloud.com/fe/',
PROD: 'https://model-link.gsstcloud.com/fe/',
DEV: 'https://super-modellink-sit.gsstcloud.com/fe/',
PROD: 'https://super-modellink.gsstcloud.com/fe/',
}
const ENV = import.meta.env.VITE_APP_ENV
export const Domain_Name: Record<'DEV' | 'PROD', string> = {
DEV: 'poc-sit.gsstcloud.com',
PROD: 'model-link.gsstcloud.com',
DEV: 'super-modellink-sit.gsstcloud.com',
PROD: 'super-modellink.gsstcloud.com',
}
export const TEXTTOSPEECH_WS_URL = `wss://${Domain_Name[ENV || 'DEV']}/websocket/textToSpeechTC.ws`
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