Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2fb46f4

Browse files
mtojekstirby
authored andcommitted
fix: use correct Content-Type for template archive (#15410)
Fixes:#14124(cherry picked from commit1736309)
1 parent3f8ba73 commit2fb46f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎site/src/api/api.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ class ApiMethods {
18681868

18691869
uploadFile=async(file:File):Promise<TypesGen.UploadResponse>=>{
18701870
constresponse=awaitthis.axios.post("/api/v2/files",file,{
1871-
headers:{"Content-Type":"application/x-tar"},
1871+
headers:{"Content-Type":file.type},
18721872
});
18731873

18741874
returnresponse.data;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp