mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 11:47:36 +08:00
[FIX] resolve bug
This commit is contained in:
parent
f9f1828b73
commit
4be8da4b9b
@ -101,5 +101,7 @@ func SourcesEnv(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
w.WriteHeader(200)
|
||||
w.Write([]byte(ss.SourceBody.EnvVal))
|
||||
if value, ok := ss.SourceBody.EnvVal.(string); ok {
|
||||
w.Write([]byte(value))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user