From a9abd6dce962661796820f08eb8f272192ab6fb2 Mon Sep 17 00:00:00 2001 From: kirill Date: Mon, 13 May 2024 23:48:31 +0300 Subject: [PATCH] fix --- index.html | 66 ------------------------------------------------------ index.ts | 8 +++---- 2 files changed, 4 insertions(+), 70 deletions(-) delete mode 100644 index.html diff --git a/index.html b/index.html deleted file mode 100644 index dba519c..0000000 --- a/index.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - Directory Index "" - - - -

Directory Index ""

-

- This is a directory index -

- - - - \ No newline at end of file diff --git a/index.ts b/index.ts index 13398df..63f2ccb 100644 --- a/index.ts +++ b/index.ts @@ -219,10 +219,10 @@ async function optimizeData() { }); devices.data.sort((a, b) => a.Key.localeCompare(b.Key)); items.data.sort((a, b) => a.Key.localeCompare(b.Key)); - GODPromise.push(writeFile("devices.json", `./dist/${languages}`, devices)); - GODPromise.push(writeFile("items.json", `./dist/${languages}`, items)); - GODPromise.push(writeFile("reagents.json", `./dist/${languages}`, reagents)); - GODPromise.push(writeFile("logics.json", `./dist/${languages}`, logics)); + GODPromise.push(writeFile("devices.json", join('dist','languages',languages), devices)); + GODPromise.push(writeFile("items.json", join('dist','languages',languages), items)); + GODPromise.push(writeFile("reagents.json", join('dist','languages',languages), reagents)); + GODPromise.push(writeFile("logics.json", join('dist','languages',languages), logics)); } }