Skip to content

Commit e1e7a63

Browse files
authored
Merge pull request #138 from codeitcodes/dev
Dev
2 parents bc9a8ac + 369fc42 commit e1e7a63

File tree

4 files changed

+7
-20
lines changed

4 files changed

+7
-20
lines changed

full.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<meta name="apple-mobile-web-app-status-bar-style" content="#313744">
1313
<meta name="apple-mobile-web-app-title" content="Codeit">
1414

15-
<meta http-equiv="origin-trial" content="At6bIDqQqUBcNVY46zIFOhsfQekTjYXogHK35lCdfrpna6/wqhxQsIh+kfTDRcLVPP0jyfFX5gTbBM4trLnn4g0AAABqeyJvcmlnaW4iOiJodHRwczovL2NvZGVpdC5jb2Rlczo0NDMiLCJmZWF0dXJlIjoiV2ViQXBwVXJsSGFuZGxpbmciLCJleHBpcnkiOjE2NDMxNTUxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
16-
1715
<meta charset="utf-8">
1816
<meta name="description" content="Codeit runs on the web, open source, and free. Supports HTML, CSS, JavaScript, Python, Bootstrap, XML and more. Easy to use without how to.">
1917

index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
<meta name="apple-mobile-web-app-status-bar-style" content="#313744">
1414
<meta name="apple-mobile-web-app-title" content="Codeit">
1515

16-
<meta http-equiv="origin-trial" content="At6bIDqQqUBcNVY46zIFOhsfQekTjYXogHK35lCdfrpna6/wqhxQsIh+kfTDRcLVPP0jyfFX5gTbBM4trLnn4g0AAABqeyJvcmlnaW4iOiJodHRwczovL2NvZGVpdC5jb2Rlczo0NDMiLCJmZWF0dXJlIjoiV2ViQXBwVXJsSGFuZGxpbmciLCJleHBpcnkiOjE2NDMxNTUxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
17-
1816
<meta charset="utf-8">
1917
<meta name="description" content="Codeit runs on the web, open source, and free. Supports HTML, CSS, JavaScript, Python, Bootstrap, XML and more. Easy to use without how to.">
2018

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

utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const fileTypes = {
257257
'css': ['css', 'scss'],
258258
'javascript': ['js', 'ts', 'mjs', 'jsx'],
259259
'json': ['json'],
260-
'python': ['python'],
260+
'python': ['py', 'python'],
261261
'markdown': ['md'],
262262
'midi': ['midi'],
263263
'pdf': ['pdf']

0 commit comments

Comments
 (0)