add mime type

This commit is contained in:
2023-06-10 11:04:08 +02:00
parent 5834a92a3f
commit 08098b5417
3 changed files with 26 additions and 8 deletions

View File

@@ -33,12 +33,15 @@
function justaddc(){
let id = $("#addidc").val();
let content = $("#addcontentc").val();
let type = "normal";
type = $("#addtypec").val();
$.post("api.php",
{
action: "setcontent",
password: password,
id: id,
content: content,
type: type,
}, function( data ) {
getcontents();
});