Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add GEOTMPDIR env #258

Merged
merged 2 commits into from
Sep 20, 2023
Merged

fix: add GEOTMPDIR env #258

merged 2 commits into from
Sep 20, 2023

Conversation

busla
Copy link
Contributor

@busla busla commented Sep 19, 2023

Add GEOTMPDIR env var

  • Allow overriding the default tmp dir node_modules/geoip-lite/tmp with GEOTMPDIR env var
  • Update docs with undocumented GEODATADIR env

@busla busla changed the title Fix geoiptmpdir env fix: geoiptmpdir env Sep 19, 2023
@busla busla changed the title fix: geoiptmpdir env fix: add GEOTMPDIR env Sep 19, 2023
@bluesmoon bluesmoon merged commit f273b48 into geoip-lite:main Sep 20, 2023
1 check passed
GEOTMPDIR=/some/path

# Override the default node_modules/geoip-lite/tmp dir
GEODATADIR=/some/path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit too late (since the PR has already been merged), but still: comments and vars are mixed up

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to submit a new MR. I haven't made a new release yet.

@busla busla deleted the fix-geoiptmpdir-env branch September 22, 2023 07:07
Trallp pushed a commit to privateJets/node-geoip that referenced this pull request Mar 6, 2024
* fix: support tmp dir overwrite with env var
* docs: env vars chapter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants