mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Move geo database to public folder.
This commit is contained in:
parent
60ea492a48
commit
c05be856f3
2 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue