Skip to content
Merged

Dev #138

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions full.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<meta name="apple-mobile-web-app-status-bar-style" content="#313744">
<meta name="apple-mobile-web-app-title" content="Codeit">

<meta http-equiv="origin-trial" content="At6bIDqQqUBcNVY46zIFOhsfQekTjYXogHK35lCdfrpna6/wqhxQsIh+kfTDRcLVPP0jyfFX5gTbBM4trLnn4g0AAABqeyJvcmlnaW4iOiJodHRwczovL2NvZGVpdC5jb2Rlczo0NDMiLCJmZWF0dXJlIjoiV2ViQXBwVXJsSGFuZGxpbmciLCJleHBpcnkiOjE2NDMxNTUxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==">

<meta charset="utf-8">
<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.">

Expand Down
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
<meta name="apple-mobile-web-app-status-bar-style" content="#313744">
<meta name="apple-mobile-web-app-title" content="Codeit">

<meta http-equiv="origin-trial" content="At6bIDqQqUBcNVY46zIFOhsfQekTjYXogHK35lCdfrpna6/wqhxQsIh+kfTDRcLVPP0jyfFX5gTbBM4trLnn4g0AAABqeyJvcmlnaW4iOiJodHRwczovL2NvZGVpdC5jb2Rlczo0NDMiLCJmZWF0dXJlIjoiV2ViQXBwVXJsSGFuZGxpbmciLCJleHBpcnkiOjE2NDMxNTUxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==">

<meta charset="utf-8">
<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.">

Expand Down
21 changes: 6 additions & 15 deletions manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,13 @@ let manifest = {
"purpose": "any"
}
],
"capture_links": "existing_client_event",
"file_handlers": [
{
"action": window.location.origin + "/full?file=true",
"name": "Code",
"accept": {
"text/*": [".js", ".json", ".html", ".css", ".htm", ".svg", ".ts", ".mjs", ".py", ".scss"]
},
"icons": [
{
"src": window.location.origin + "/icons/file.png",
"sizes": "256x256",
"type": "image/png"
}
]
}
}
],
"share_target": {
Expand All @@ -48,12 +41,10 @@ let manifest = {
]
}
},
"url_handlers": [
{
"origin": window.location.origin
}
],
"display_override": ["window-controls-overlay"]
"handle_links": "preferred",
"launch_handler": {
"route_to": "new-client"
}
};


Expand Down
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const fileTypes = {
'css': ['css', 'scss'],
'javascript': ['js', 'ts', 'mjs', 'jsx'],
'json': ['json'],
'python': ['python'],
'python': ['py', 'python'],
'markdown': ['md'],
'midi': ['midi'],
'pdf': ['pdf']
Expand Down