diff --git a/res/include/md/about.md b/res/include/md/about.md index 4ff037f..cc2c270 100644 --- a/res/include/md/about.md +++ b/res/include/md/about.md @@ -6,9 +6,9 @@ Files will be removed if they have not been accessed for 120 days. When a file is downloaded the expiry time is reset to 120 days from the current day. This -only happens when someone downloads more than 1% of the whole file in a single +only happens when someone downloads more than 10% of the whole file in a single request. So if you have a 5 GB file the timer is only extended when you download -at least 50 MB. The expiry timer is not updated when it was already updated +at least 500 MB. The expiry timer is not updated when it was already updated within the last 24 hours. File expiry is often seen as a downside of pixeldrain. But keep in mind that 120 diff --git a/svelte/package-lock.json b/svelte/package-lock.json index fb1a571..70fce46 100644 --- a/svelte/package-lock.json +++ b/svelte/package-lock.json @@ -20,7 +20,7 @@ "@babel/preset-env": "^7.26.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^26.0.3", - "@rollup/plugin-node-resolve": "^15.3.0", + "@rollup/plugin-node-resolve": "^15.3.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/jsmediatags": "^3.9.6", @@ -1718,9 +1718,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.0.tgz", - "integrity": "sha512-9eO5McEICxMzJpDW9OnMYSv4Sta3hmt7VtBFz5zR9273suNOydOyq/FrGeGy+KsTRFm8w0SLVhzig2ILFT63Ag==", + "version": "15.3.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.1.tgz", + "integrity": "sha512-tgg6b91pAybXHJQMAAwW9VuWBO6Thi+q7BCNARLwSqlmsHz0XYURtGvh/AuwSADXSI4h/2uHbs7s4FzlZDGSGA==", "dev": true, "license": "MIT", "dependencies": { diff --git a/svelte/package.json b/svelte/package.json index bc6f077..17a0a32 100644 --- a/svelte/package.json +++ b/svelte/package.json @@ -11,7 +11,7 @@ "@babel/preset-env": "^7.26.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^26.0.3", - "@rollup/plugin-node-resolve": "^15.3.0", + "@rollup/plugin-node-resolve": "^15.3.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/jsmediatags": "^3.9.6", diff --git a/svelte/rollup.config.js b/svelte/rollup.config.js index f319aa4..74436eb 100644 --- a/svelte/rollup.config.js +++ b/svelte/rollup.config.js @@ -55,11 +55,11 @@ export default [ extensions: ['.svelte'], }), commonjs(), - nodeResolve(), - typescript({ - compilerOptions: { lib: ["es2015", "dom"] }, - verbatimModuleSyntax: true, + nodeResolve({ + modulePaths: [process.cwd() + "/src"], + extensions: [".svelte", ".mjs", ".js", ".json"] }), + typescript(), // Watch the `public` directory and refresh the browser on changes when // not in production diff --git a/svelte/src/home_page/FeatureTable.svelte b/svelte/src/home_page/FeatureTable.svelte index 14430b8..7aa5b5e 100644 --- a/svelte/src/home_page/FeatureTable.svelte +++ b/svelte/src/home_page/FeatureTable.svelte @@ -1,4 +1,5 @@ @@ -34,45 +35,76 @@ import OtherPlans from "./OtherPlans.svelte"; None
+ The minimum fee is only charged when usage is less than €1. + This calculation is per day, the €1 amount is divided by the + number of days in the month and if your usage is lower than + that, you will be charged the minimum fee. +
++ Free users are limited to downloading 6 GB per day, this + limit is linked to your IP address, even if you are logged + in to an account. +
++ When the download limit is exceeded the download speed is + reduced to 1 MiB/s. You can have at most three concurrent + downloads running. +
++ The transfer limit is used for downloading, sharing and + hotlinking files. +
++ Paid plans do not have a concurrent connection limit. +
++ Prepaid does not have a transfer limit, instead you are + charged for what you use at a rate of €1 per terabyte + downloaded. This applies to downloading your own files, + other people's files and others downloading your files (if + you have hotlinking enabled in your account settings). +
++ Paid plans do not have a concurrent connection limit. +
++ Files expire when they have not been downloaded in the last + 120 days. A download is counted when more than 10% of the + whole file was downloaded in a single request. +
++ The Pro plan has 240 day file expiry. The same rules apply + as the free plan. Higher Patreon subscription plans are + available where files do not expire at all. +
++ Files don't expire while your Prepaid plan is active. If + your credit runs out you have one week to top up your + balance. If you fail to do so your files will revert to the + regular file expiry rules. +
+