Skip to content

Commit 3263903

Browse files
committed
Update manifest.js
1 parent 953838c commit 3263903

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

manifest.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,28 @@ let manifest = {
3030
}
3131
],
3232
"share_target": {
33-
"action": window.location.origin + "/full?upload=true",
33+
"action": window.location.origin + "/full",
3434
"method": "POST",
3535
"enctype": "multipart/form-data",
3636
"params": {
3737
"files": [
3838
{
39-
"name": "code",
39+
"name": "file",
4040
"accept": ["text/*", "application/json"]
4141
}
4242
]
4343
}
4444
},
45+
"protocol_handlers": [
46+
{
47+
"protocol": "https://cde.run",
48+
"url": window.location.origin + "/api/link?url=%s"
49+
},
50+
{
51+
"protocol": "https://codeit.codes",
52+
"url": window.location.origin + "/full?url=%s"
53+
}
54+
],
4555
"handle_links": "preferred",
4656
"launch_type": "multiple-clients",
4757
"launch_handler": {

0 commit comments

Comments
 (0)