mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Merge 61c392cdd4 into c479a20cc0
This commit is contained in:
commit
f43368b77b
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,11 @@ import https from 'https';
|
||||||
import { list } from 'tar';
|
import { list } from 'tar';
|
||||||
import zlib from 'zlib';
|
import zlib from 'zlib';
|
||||||
|
|
||||||
|
if (process.env.SKIP_BUILD_GEO) {
|
||||||
|
console.log('SKIP_BUILD_GEO is set. Skipping geo setup.');
|
||||||
|
process.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
if (process.env.VERCEL && !process.env.BUILD_GEO) {
|
if (process.env.VERCEL && !process.env.BUILD_GEO) {
|
||||||
console.log('Vercel environment detected. Skipping geo setup.');
|
console.log('Vercel environment detected. Skipping geo setup.');
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue