mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-22 09:13:37 +01:00
Move geo database to public folder.
This commit is contained in:
parent
60ea492a48
commit
c05be856f3
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,8 +16,8 @@
|
||||
# production
|
||||
/build
|
||||
/public/umami.js
|
||||
/public/geo
|
||||
/lang-compiled
|
||||
/geo
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user