Skip to content

Commit 10c9b65

Browse files
authored
Update manifest.js
1 parent 6ae1ff2 commit 10c9b65

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

manifest.js

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,13 @@ let manifest = {
1919
"purpose": "any"
2020
}
2121
],
22-
"capture_links": "existing_client_event",
2322
"file_handlers": [
2423
{
2524
"action": window.location.origin + "/full?file=true",
25+
"name": "Code",
2626
"accept": {
2727
"text/*": [".js", ".json", ".html", ".css", ".htm", ".svg", ".ts", ".mjs", ".py", ".scss"]
28-
},
29-
"icons": [
30-
{
31-
"src": window.location.origin + "/icons/file.png",
32-
"sizes": "256x256",
33-
"type": "image/png"
34-
}
35-
]
28+
}
3629
}
3730
],
3831
"share_target": {
@@ -48,12 +41,10 @@ let manifest = {
4841
]
4942
}
5043
},
51-
"url_handlers": [
52-
{
53-
"origin": window.location.origin
54-
}
55-
],
56-
"display_override": ["window-controls-overlay"]
44+
"handle_links": "preferred",
45+
"launch_handler": {
46+
"route_to": "new-client"
47+
}
5748
};
5849

5950

0 commit comments

Comments
 (0)