forgeplus-react/config/publicPath.ts

23 lines
728 B
TypeScript

let publicPath = '/'
// const { API_ENV } = process.env
// if (API_ENV === 'test' || API_ENV === 'newTest') {
// // publicPath = 'https://testali-cdn.educoder.net/react/build/'
// // publicPath = '/'
// }
// if (API_ENV === 'preBuild') {
// publicPath = 'https://preali-cdn.educoder.net/react/build/'
// }
// if (API_ENV === 'build') {
// publicPath = 'https://ali-cdn.educoder.net/react/build/'
// }
// if (API_ENV === 'newReactTest') {
// publicPath = 'https://edu-testreact1-cdn.educoder.net/'
// }
// if (API_ENV === 'preNewBuild') {
// publicPath = 'https://edu-prereact1-cdn.educoder.net/'
// }
// if (API_ENV === 'newBuild') {
// publicPath = 'https://www-cdn.educoder.net/'
// }
export default publicPath;