mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Seaweed custom header are not visible to Vue or javascript
This commit is contained in:
parent
1309dfe612
commit
b42c5b71c1
|
@ -100,7 +100,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request,
|
|||
w.Header().Set(k, string(v))
|
||||
}
|
||||
|
||||
//Add some custom headers that need to be exposed
|
||||
//Seaweed custom header are not visible to Vue or javascript
|
||||
seaweedHeaders := []string{}
|
||||
for header, _ := range w.Header() {
|
||||
if strings.HasPrefix(header, "Seaweed-") {
|
||||
|
|
Loading…
Reference in a new issue