Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Sep 27, 2024
1 parent a48c568 commit ab7b8c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/components/widgets/Shell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<span class="jn-comment"><span class="text-secondary">{{t('shell.getIPv6')}}</span></span>
<span class="jn-shell bg-black p-3 m-2 rounded-3">curl <span class="text-light">6.ipcheck.ing<span class="text-success">/geo</span></span></span>
<span class="jn-comment"><span class="text-secondary">{{t('shell.get6and4')}}</span></span>
<span class="jn-shell bg-black p-3 m-2 rounded-3">curl <span class="text-light">6and4.ipcheck.ing<span class="text-success">/geo</span></span></span>
<span class="jn-shell bg-black p-3 m-2 rounded-3">curl <span class="text-light">64.ipcheck.ing<span class="text-success">/geo</span></span></span>
</code>
</div>
<div class="modal-footer" :class="{ 'dark-mode-border': isDarkMode }">
Expand Down
4 changes: 2 additions & 2 deletions frontend/utils/getips/ipchecking64.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const getIPFromIPChecking64 = async (originalSite) => {

const getFromJson = async () => {
try {
const response = await fetch("https://6and4.ipcheck.ing");
const response = await fetch("https://64.ipcheck.ing");
if (!response.ok) {
throw new Error("Network response was not ok");
}
Expand All @@ -45,7 +45,7 @@ const getFromJson = async () => {

const getFromTrace = async () => {
try {
const response = await fetch("https://6and4.ipcheck.ing/cdn-cgi/trace");
const response = await fetch("https://64.ipcheck.ing/cdn-cgi/trace");
const data = await response.text();
const lines = data.split("\n");
const ipLine = lines.find((line) => line.startsWith("ip="));
Expand Down

0 comments on commit ab7b8c9

Please sign in to comment.