Skip to content

Commit 524745a

Browse files
authored
Update manifest.js
1 parent 63b6f9b commit 524745a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

manifest.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,21 @@ let manifest = {
2121
],
2222
"file_handlers": [
2323
{
24-
"action": window.location.origin + "/full?file=true",
25-
"name": "Code",
24+
"action": "/full",
2625
"accept": {
27-
"text/*": [".js", ".json", ".html", ".css", ".htm", ".svg", ".ts", ".mjs", ".py", ".scss"]
26+
"text/css": [".css"]
2827
}
2928
}
3029
],
3130
"share_target": {
32-
"action": window.location.origin + "/full?file=true",
31+
"action": "/full",
3332
"method": "POST",
3433
"enctype": "multipart/form-data",
3534
"params": {
3635
"files": [
3736
{
3837
"name": "file",
39-
"accept": ["text/*", ".js", ".json", ".html", ".css", ".htm", ".svg", ".ts", ".mjs", ".py", ".scss"]
38+
"accept": ["text/css", "application/json", ".css"]
4039
}
4140
]
4241
}

0 commit comments

Comments
 (0)