mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: format code
This commit is contained in:
parent
2679206be9
commit
414eb1b098
12 changed files with 819 additions and 908 deletions
|
|
@ -594,7 +594,7 @@ export async function isImage (link) {
|
|||
}
|
||||
}
|
||||
|
||||
export async function getPublicIP() {
|
||||
export async function getPublicIP () {
|
||||
try {
|
||||
if (localIP === '') {
|
||||
const res = await fetch('https://api.ipify.org?format=json')
|
||||
|
|
@ -605,5 +605,4 @@ export async function getPublicIP() {
|
|||
} catch (err) {
|
||||
return '127.0.0.1'
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue