Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Dec 10, 2023
1 parent 3e6aa42 commit b9587da
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

Notes: You can use my demo, but please don't use it for commercial purposes. If you want to use it for commercial purposes, please deploy it yourself.

[![Deploy with Vercel](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/Vercel.svg)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjason5ng32%2FMyIP&project-name=MyIP&repository-name=MyIP)
[![Deploy with Docker](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/Docker.svg)](https://hub.docker.com/r/jason5ng32/myip)
[![Deploy with Vercel](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/img/Vercel.svg)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjason5ng32%2FMyIP&project-name=MyIP&repository-name=MyIP)
[![Deploy with Docker](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/img/Docker.svg)](https://hub.docker.com/r/jason5ng32/myip)

## 👀 Main Features

Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

备注:你可以直接用我已经搭建好的服务,也可以自行搭建。

[![Deploy with Vercel](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/Vercel.svg)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjason5ng32%2FMyIP&project-name=MyIP&repository-name=MyIP)
[![Deploy with Docker](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/Docker.svg)](https://hub.docker.com/r/jason5ng32/myip)
[![Deploy with Vercel](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/img/Vercel.svg)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjason5ng32%2FMyIP&project-name=MyIP&repository-name=MyIP)
[![Deploy with Docker](https://raw.githubusercontent.com/jason5ng32/MyIP/main/res/img/Docker.svg)](https://hub.docker.com/r/jason5ng32/myip)

这是一个完全开源的 IP 信息查看器,可以查询本机 IP、查询任意 IP、查询国内外网站可用性等。这是我第一次用 Vue.js 练手的项目。我……只是一个普通的产品经理。

Expand Down
12 changes: 6 additions & 6 deletions contents/ipDataCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default [
isp: "",
asn: "",
asnlink: "",
mapUrl: "res/defaultMap.jpg",
mapUrl: "res/img/defaultMap.jpg",
showMap: false,
source: "Upai",
},
Expand All @@ -25,7 +25,7 @@ export default [
isp: "",
asn: "",
asnlink: "",
mapUrl: "res/defaultMap.jpg",
mapUrl: "res/img/defaultMap.jpg",
showMap: false,
source: "Taobao",
},
Expand All @@ -40,7 +40,7 @@ export default [
isp: "",
asn: "",
asnlink: "",
mapUrl: "res/defaultMap.jpg",
mapUrl: "res/img/defaultMap.jpg",
showMap: false,
source: "Cloudflare IPv4",
},
Expand All @@ -55,7 +55,7 @@ export default [
isp: "",
asn: "",
asnlink: "",
mapUrl: "res/defaultMap.jpg",
mapUrl: "res/img/defaultMap.jpg",
showMap: false,
source: "Cloudflare IPv6",
},
Expand All @@ -70,7 +70,7 @@ export default [
isp: "",
asn: "",
asnlink: "",
mapUrl: "res/defaultMap.jpg",
mapUrl: "res/img/defaultMap.jpg",
showMap: false,
source: "IPify IPv4",
},
Expand All @@ -85,7 +85,7 @@ export default [
isp: "",
asn: "",
asnlink: "",
mapUrl: "res/defaultMap.jpg",
mapUrl: "res/img/defaultMap.jpg",
showMap: false,
source: "IPify IPv6",
},
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#f8f9fa">
<meta name="background-color" content="#ffffff">
<link rel="apple-touch-icon" href="res/logo-512.png">
<link rel="apple-touch-icon" href="res/img/logo-512.png">
<title>查看我的 IP 地址 | 查询本机 IP 地址及归属地 | 查看 WebRTC 连接 IP | DNS 泄露检测 | 网速测试 | Jason Ng 阿禅开源作品 </title>
<!-- Bootstrap CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/css/bootstrap.min.css" rel="stylesheet"
Expand All @@ -19,7 +19,7 @@
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.2/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="res/style.css">
<link rel="stylesheet" href="res/css/style.css">
<link rel="manifest" href="manifest.json">
</head>

Expand Down
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
"description": "IP Toolbox",
"icons": [
{
"src": "res/logo-512.png",
"src": "res/img/logo-512.png",
"type": "image/png"
},
{
"src": "res/logo-144.png",
"src": "res/img/logo-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "res/logo-192.png",
"src": "res/img/logo-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "res/logo-512.png",
"src": "res/img/logo-512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
4 changes: 2 additions & 2 deletions res/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ new Vue({
card.longitude = "";
card.asn = "";
card.isp = "";
card.mapUrl = "res/defaultMap.jpg";
card.mapUrl = "res/img/defaultMap.jpg";
},

toggleMaps() {
Expand Down Expand Up @@ -783,7 +783,7 @@ new Vue({
card.longitude = "-122.078514";
card.isp = "Google LLC";
card.asn = "AS15169";
card.mapUrl = "res/defaultMap.jpg";
card.mapUrl = "res/img/defaultMap.jpg";
});
this.leakTest.forEach((server) => {
server.geo = "United States";
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const CACHE_NAME = 'v1_cache';
const urlsToCache = [
'res/vue.js',
'res/defaultMap.jpg',
'res/img/defaultMap.jpg',
'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/js/bootstrap.bundle.min.js',
'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/css/bootstrap.min.css',
'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.2/font/bootstrap-icons.min.css',
Expand Down

0 comments on commit b9587da

Please sign in to comment.