fix setting
This commit is contained in:
@@ -129,7 +129,7 @@ func Variables(ctx *context.Context) {
|
||||
tagsJSONStr = "[]"
|
||||
}
|
||||
// 创建一个新的请求
|
||||
req, err := http.NewRequest("GET", "http://192.168.245.128:3000/variables/export", nil)
|
||||
req, err := http.NewRequest("GET", "http://devstar.cn/variables/export", nil)
|
||||
if err != nil {
|
||||
ctx.Data["DevstarVariables"] = []*devcontainer_model.DevcontainerVariable{}
|
||||
} else {
|
||||
@@ -237,7 +237,7 @@ func ScriptCreate(ctx *context.Context) {
|
||||
}
|
||||
if !exists {
|
||||
// 创建一个新的请求来获取devstar变量
|
||||
req, err := http.NewRequest("GET", "http://192.168.245.128:3000/variables/export", nil)
|
||||
req, err := http.NewRequest("GET", "http://devstar.cn/variables/export", nil)
|
||||
if err != nil {
|
||||
log.Error("Failed to create request for devstar variables: %v", err)
|
||||
ctx.JSONError(ctx.Tr("actions.variables.creation.failed"))
|
||||
|
||||
Reference in New Issue
Block a user