-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.default
48 lines (36 loc) · 1.53 KB
/
.env.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Default fields to query
# - for both CLI and HTTP API
# - CLI needs to have fields added/removed here
# - HTTP API still accepts fields query parameter to add/remove, but these are the defaults
#
# Fields documented at https://ip-api.com/docs/api:json
# - Add "reverse" to get reverse DNS lookup data - adds latency to lookup
# - For our own HTTP API this will be used if no fields are passed in via the URL parameters
# - For error handling and success checking status and message are ALWAYS requested as fields
FIELDS=continent,continentCode,country,countryCode,region,regionName,city,district,zip,lat,lon,timezone,offset,isp,org,as,asname,mobile,proxy,hosting,query
###################################################################################################
#
# IP INFO API
#
IP_INFO_API_USE_HTTPS=false
IP_INFO_API_HOST=ip-api.com
IP_INFO_API_PORT=80
IP_INFO_API_TIMEOUT_MS=2000
###################################################################################################
#
# CLI (cli.ts)
#
# Show debugging information like full stack traces on exception
CLI_DEBUG=true
# Dump JSON output from IpAddrUtils.get_info to console
CLI_DUMP_JSON=true
###################################################################################################
#
# HTTP API (api.ts), client (lib/HttpApiClient.ts)
#
HTTP_API_PORT=63100
HTTP_API_CLIENT_USE_HTTPS=false
HTTP_API_CLIENT_HOST=localhost
HTTP_API_CLIENT_TIMEOUT_MS=2500
###################################################################################################