Remove demo file viewer, update dependencies
This commit is contained in:
@@ -8,7 +8,7 @@ let text_type = ""
|
||||
export const set_file = file => {
|
||||
console.log("loading text file", file.id)
|
||||
|
||||
if (file.name.endsWith(".md") || file.name.endsWith(".markdown") || file.mime_type === "text/demo") {
|
||||
if (file.name.endsWith(".md") || file.name.endsWith(".markdown")) {
|
||||
markdown(file)
|
||||
} else if (file.name.endsWith(".txt") || file.size > 524288) {
|
||||
// If the file is larger than 512KiB we do not enable code highlighting
|
||||
|
@@ -19,7 +19,7 @@ onMount(() => {
|
||||
</div>
|
||||
<div>
|
||||
<div class="feat_label">Size limit per file</div>
|
||||
<div class="feat_normal">10 GB per file (9.31 GiB)</div>
|
||||
<div class="feat_normal">20 GB per file (18.63 GiB)</div>
|
||||
<div class="feat_pro">
|
||||
<span class="text_highlight">50 GB</span> per file (46.57 GiB)
|
||||
</div>
|
||||
@@ -29,7 +29,7 @@ onMount(() => {
|
||||
Data transfer limit
|
||||
</div>
|
||||
<div class="feat_normal">
|
||||
Download limit of <span class="text_highlight">10 GB</span> per day
|
||||
Download limit of <span class="text_highlight">20 GB</span> per day
|
||||
(24 hours). When this threshold is reached your download speed will
|
||||
be reduced to 1 MiB/s
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user