Skip to content

Commit d79b74e

Browse files
authored
Fix file sorting issue on servers expecting Content-Type
1 parent 6dae96b commit d79b74e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/controllers/attach_controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ export default class extends ApplicationController {
214214
files: items,
215215
}),
216216
headers: {
217+
'Content-Type': 'application/json;charset=utf-8',
217218
'X-CSRF-Token': document.head.querySelector('meta[name="csrf_token"]').content,
218219
},
219220
}).then();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy