File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ async function getHeaders() {
107107 headers : { 'Content-Type' : 'application/json' } ,
108108 method : 'GET'
109109 } )
110- return response . json ( ) . data ;
110+ return response . json ( ) ;
111111}
112112
113113// init req for ip
@@ -133,7 +133,7 @@ nowFetch().then(async response => {
133133 const ipData = response . data [ ipAddress ]
134134 const headers = await getHeaders ( ) ;
135135 const data = {
136- headers, ip : ipAddress , isp : ipData . isp . organization ,
136+ headers : headers . data , ip : ipAddress , isp : ipData . isp . organization ,
137137 city : ipData . geoip . city , country : ipData . geoip . country , latitude : ipData . geoip . latitude ,
138138 longitude : ipData . geoip . longitude , timezone : ipData . geoip . timezone , memory : memory ,
139139 platform : platform , hardwareConcurrency : hardwareConcurrency , language : language ,
You can’t perform that action at this time.
0 commit comments