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));
}
}