mirror of
https://github.com/balzack/databag.git
synced 2025-02-15 04:59:16 +00:00
exposing topic headers for cors
This commit is contained in:
parent
d7f8c0bbd9
commit
eefa325adf
@ -141,6 +141,7 @@ func GetChannelTopics(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
|
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
|
||||||
|
w.Header().Set("Access-Control-Expose-Headers", "*");
|
||||||
WriteResponse(w, response)
|
WriteResponse(w, response)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user