Move geo database to public folder.

This commit is contained in:
Mike Cao committed 2020-09-26 21:18:15 -07:00
1 parent 60ea492a48
commit c05be856f3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -16,8 +16,8 @@
# production
/build
/public/umami.js
/public/geo
/lang-compiled
/geo
# misc
.DS_Store
+1 -1
View File
@@ -14,7 +14,7 @@ if (process.env.MAXMIND_LICENSE_KEY) {
`?edition_id=GeoLite2-Country&license_key=${process.env.MAXMIND_LICENSE_KEY}&suffix=tar.gz`;
}
const dest = path.resolve(__dirname, '../geo');
const dest = path.resolve(__dirname, '../public/geo');
if (!fs.existsSync(dest)) {
fs.mkdirSync(dest);