Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-apm
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
2018-05-29 18:26:09 +0800
Commit
13060b17f29c32eaa4ff466807d24ba65530a6bf
1 parent
06425eb7
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
middleware/ip-api.js
middleware/ip-api.js
View file @
13060b1
...
...
@@ -18,7 +18,7 @@ function getIsp(ip) {
}
for
(
let
p
of
PROVINCE
)
{
if
(
_
.
includes
(
result
.
province
,
p
)
)
{
if
(
result
.
province
.
split
(
p
).
length
===
2
)
{
result
.
province
=
p
;
break
;
}
...
...
Please
register
or
login
to post a comment