mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-23 01:32:19 +00:00
Fix typo in occurred
This commit is contained in:
parent
4eb15e4b1d
commit
3449124d62
@ -56,8 +56,8 @@ func viewerPostHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
// Send server description as JSON
|
// Send server description as JSON
|
||||||
jsonDesc, err := json.Marshal(localDescription)
|
jsonDesc, err := json.Marshal(localDescription)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
http.Error(w, "An error occured while formating response", http.StatusInternalServerError)
|
http.Error(w, "An error occurred while formating response", http.StatusInternalServerError)
|
||||||
log.Println("An error occured while sending session description", err)
|
log.Println("An error occurred while sending session description", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
|
Loading…
Reference in New Issue
Block a user