exposing topic headers for cors

This commit is contained in:
Roland Osborne 2022-07-18 14:06:57 -07:00
parent d7f8c0bbd9
commit eefa325adf

View File

@ -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("Access-Control-Expose-Headers", "*");
WriteResponse(w, response)
}