eEducation icon indicating copy to clipboard operation
eEducation copied to clipboard

关于服务器地址配置

Open StevenZhangHl opened this issue 4 years ago • 5 comments

我现在想通过配置,使项目发布到不同环境时自动改变接口地址和发布环境一样,不知道这个项目在哪配置,怎么配置

StevenZhangHl avatar Jul 14 '20 11:07 StevenZhangHl

没有太明白,你是要修改我们云服务的地址环境吗?我理解上的是你应该应该一直用我们的发布环境, 然后如果你有自己的后台服务,你只需要调整自己的后台服务环境即可。

srs888001 avatar Jul 15 '20 08:07 srs888001

对的就是修改借口的地址,因为我们现在有4个发布环境,每次都手动改接口地址太麻烦了,想通过配置自动识别发布环境的地址发自我的华为手机-------- 原始邮件 --------发件人: srs888001 [email protected]日期: 2020年7月15日周三 下午4:54收件人: AgoraIO-Usecase/eEducation [email protected]抄送: steven945 [email protected], Author [email protected]主 题: Re: [AgoraIO-Usecase/eEducation] 关于服务器地址配置 (#173)

没有太明白,你是要修改我们云服务的地址环境吗?

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

StevenZhangHl avatar Jul 15 '20 09:07 StevenZhangHl

我的云服务测试地址不对外开放,因为我们自己也可能在测试环境上开发。 如果你需要修改你自己的环境地址,你可能需要自己配置下环境配置,这个理论上并不复杂。

srs888001 avatar Jul 15 '20 09:07 srs888001

我没说要你们的服务器地址,我的问题就是在你们的demo上怎么进行我们服务器的环境配置,因为对你们的项目结构看不懂。发自我的华为手机-------- 原始邮件 --------发件人: srs888001 [email protected]日期: 2020年7月15日周三 傍晚5:17收件人: AgoraIO-Usecase/eEducation [email protected]抄送: steven945 [email protected], Author [email protected]主 题: Re: [AgoraIO-Usecase/eEducation] 关于服务器地址配置 (#173) 我的云服务测试地址不对外开放,因为我们自己也可能在测试环境上开发。 如果你需要修改你自己的环境地址,你可能需要自己配置下环境配置,这个理论上并不复杂。

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

StevenZhangHl avatar Jul 15 '20 09:07 StevenZhangHl

你可以在这里修改我们客户端的接服务端api的逻辑 edu-api.ts

Matrixbirds avatar Jul 17 '20 06:07 Matrixbirds