Skip to content

Commit

Permalink
Added WTF IS MY IP! #746
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed Jun 20, 2023
1 parent 3d883f5 commit c46c0fb
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 1 deletion.
39 changes: 39 additions & 0 deletions src/assets/images/myIp-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/images/myIp-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/assets/javascripts/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,8 @@ const defaultInstances = {
'jitsi': ['https://meet.jit.si', 'https://8x8.vc'],
'binternet': ['https://binternet.ahwx.org'],
'pixivFe': ['https://pixivfe.exozy.me'],
'indestructables': ['https://indestructables.private.coffee']
'indestructables': ['https://indestructables.private.coffee'],
'wtfismyip': ['https://myip.wtf']
}

function initDefaults() {
Expand Down
20 changes: 20 additions & 0 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,26 @@
"imageType": "svgMono",
"url": "https://meet.libredirect.invalid"
},
"myIp": {
"frontends": {
"wtfismyip": {
"name": "wtfismyip",
"instanceList": true,
"url": "https://gitlab.com/wtfismyip/wtfismyip"
}
},
"targets": [
"^https?:\\/{2}myip\\.libredirect\\.invalid\\/"
],
"name": "My IP",
"options": {
"enabled": false,
"unsupportedUrls": "bypass",
"frontend": "wtfismyip"
},
"imageType": "svgMono",
"url": "https://myip.libredirect.invalid"
},
"wolframAlpha": {
"frontends": {
"wolfreeAlpha": {
Expand Down

0 comments on commit c46c0fb

Please sign in to comment.