mirror of
https://github.com/ijprest/keyboard-layout-editor.git
synced 2026-04-28 10:00:56 -07:00
Implemented as a POST upload to AWS/S3. -- Each layout is a separate file; identified by its MD5 hash -- No real security to protect against malicious users "erasing" layouts, but S3 offers versioning. Also: -- Added save button on the toolbar. -- Added load/save alert boxes. -- Added Ctrl+S hotkey to save.
10 lines
No EOL
338 B
Text
10 lines
No EOL
338 B
Text
{"expiration": "20014-01-01T00:00:00Z",
|
|
"conditions": [
|
|
{"bucket": "www.keyboard-layout-editor.com"},
|
|
["starts-with", "$key", "layouts/"],
|
|
{"acl": "public-read"},
|
|
{"success_action_redirect": "http://www.keyboard-layout-editor.com"},
|
|
{"Content-Type": "application/json"},
|
|
["content-length-range", 0, 8192]
|
|
]
|
|
} |