From 26985ae85faa07c966de3fecf34b1ded8d0f9446 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Wed, 13 Aug 2025 14:33:05 +0800 Subject: [PATCH] Update raw-api.js --- util/raw-api.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/util/raw-api.js b/util/raw-api.js index 0f53238de3..32a3962e1c 100644 --- a/util/raw-api.js +++ b/util/raw-api.js @@ -89,14 +89,6 @@ fs.readdir(directoryPath, function (err, files) { if (processedCount === files.length) { v2.sort((a, b) => a.domain.localeCompare(b.subdomain)); - fs.writeFile("raw-api/index.json", JSON.stringify({"code":404,"message":"v1 of the Raw API is no longer available, please upgrade to v2 located at https://raw.is-a.dev/v2.json"}), (err) => { - if (err) throw err; - }); - - fs.writeFile("raw-api/v1.json", JSON.stringify({"code":404,"message":"v1 of the Raw API is no longer available, please upgrade to v2 located at https://raw.is-a.dev/v2.json"}), (err) => { - if (err) throw err; - }); - fs.writeFile("raw-api/v2.json", JSON.stringify(v2), (err) => { if (err) throw err; });