This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
constisDev=window.location.port==3007;
exportfunctiongetImageUrl(path){
// https://www.educoder.net
// https://testbdweb.trustie.net
// const local = 'http://localhost:3000'
constlocal='https://testeduplus2.educoder.net'
if(isDev){
return`${local}/${path}`
}
return`/${path}`;
}
exportfunctiongetUrl(path,goTest){
// https://www.educoder.net
// https://testbdweb.trustie.net
// 如果想所有url定位到测试版,可以反注释掉下面这行
//goTest = true
// testbdweb.educoder.net testbdweb.trustie.net
// const local = goTest ? 'https://testeduplus2.educoder.net' : 'http://localhost:3000'