Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于服务器地址配置 #173

Open
StevenZhangHl opened this issue Jul 14, 2020 · 5 comments
Open

关于服务器地址配置 #173

StevenZhangHl opened this issue Jul 14, 2020 · 5 comments

Comments

@StevenZhangHl
Copy link

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

@srs888001
Copy link

srs888001 commented Jul 15, 2020

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

@StevenZhangHl
Copy link
Author

StevenZhangHl commented Jul 15, 2020 via email

@srs888001
Copy link

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

@StevenZhangHl
Copy link
Author

StevenZhangHl commented Jul 15, 2020 via email

@Matrixbirds
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants