diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-15 00:39:24 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-15 02:26:52 +0700 |
| commit | feeb3edf9bf8f914dc263de3bb661914b409da6c (patch) | |
| tree | f627221d81b1d7c06cb8238fd6ddee1e5b192e42 | |
| parent | 44c2bb98bfbb2921b84d11cdd863ccf9013581db (diff) | |
| download | awwan-feeb3edf9bf8f914dc263de3bb661914b409da6c.tar.xz | |
_wui: allow opening file with content type as "octet-stream"
Most file with this type is binary, we allow it to see if its file
has content or not.
| -rw-r--r-- | _wui/awwan.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_wui/awwan.ts b/_wui/awwan.ts index 9cf6fb7..fa2ec1d 100644 --- a/_wui/awwan.ts +++ b/_wui/awwan.ts @@ -343,6 +343,7 @@ export class Awwan { node.content_type && (node.content_type.indexOf("json") >= 0 || node.content_type.indexOf("message") >= 0 || + node.content_type.indexOf("octet-stream") >= 0 || node.content_type.indexOf("script") >= 0 || node.content_type.indexOf("text") >= 0 || node.content_type.indexOf("xml") >= 0) |
