mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-08 15:27:43 +02:00
rename
This commit is contained in:
1 parent
023a1efdf2
commit
3faa0aa448
3 files changed
+3
-3
No files matched your search
@@ -218,7 +218,7 @@ func handleStaticResources2(r *mux.Router) {
|
||||
r.PathPrefix("/seaweedfsstatic/").Handler(http.StripPrefix("/seaweedfsstatic", http.FileServer(statikFS)))
|
||||
}
|
||||
|
||||
func adjustHeaders(w http.ResponseWriter, r *http.Request, filename string) {
|
||||
func adjustHeaderContentDisposition(w http.ResponseWriter, r *http.Request, filename string) {
|
||||
if filename != "" {
|
||||
contentDisposition := "inline"
|
||||
if r.FormValue("dl") != "" {
|
||||
|
||||
Reference in new issue
Block a user