mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
02e2e402c3
As the title says, this commit is a massive overhaul. I've rewritten/restrucuted almost everything in the controller scripts. Because of that, there's a considerable possibility that I've broken something somewhere. Notable changes: Added temporary uploads. Removed file name length changer from dashboard, in favor of an equivalent in homepage config tab. This allows non-registered users to also set file name length. A bunch of other undocmented stuff. I don't know, I'm too tired to remember them all.
16 lines
378 B
Plaintext
16 lines
378 B
Plaintext
{
|
|
"Name": "safe.fiery.me",
|
|
"DestinationType": "ImageUploader, FileUploader",
|
|
"RequestType": "POST",
|
|
"RequestURL": "https://safe.fiery.me/api/upload",
|
|
"FileFormName": "files[]",
|
|
"Headers": {
|
|
"token": "",
|
|
"albumid": "",
|
|
"filelength": "",
|
|
"age": ""
|
|
},
|
|
"ResponseType": "Text",
|
|
"URL": "$json:files[0].url$",
|
|
"ThumbnailURL": "$json:files[0].url$"
|
|
} |