diff --git a/.gitignore b/.gitignore index 68408a66..5db4c8fb 100644 --- a/.gitignore +++ b/.gitignore @@ -16,8 +16,8 @@ # production /build /public/umami.js +/public/geo /lang-compiled -/geo # misc .DS_Store diff --git a/scripts/build-geo.js b/scripts/build-geo.js index dc17397e..cc66f941 100644 --- a/scripts/build-geo.js +++ b/scripts/build-geo.js @@ -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);