mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-18 06:30:07 +08: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 New Issue
Block a user