This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tunnelStatusTypes = { | |
TUNNEL_STATUS_TYPE_INVALID: { | |
color: 3553599, | |
name: 'Invalid', | |
}, | |
TUNNEL_STATUS_TYPE_INACTIVE: { | |
color: 3553599, | |
name: 'Inactive', | |
}, | |
TUNNEL_STATUS_TYPE_DOWN: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
async fetch(request, env, ctx) { | |
let url = new URL(request.url) | |
let fields = url.pathname.split('/') | |
const task = fields[1] | |
const bundleid = fields[2] | |
if (task === "install") { | |
return Response.redirect(`itms-services://?action=download-manifest&url=https://${url.hostname}/manifest/${bundleid}`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
tclip: | |
image: ghcr.io/tailscale-dev/tclip | |
environment: | |
- TS_AUTHKEY=tskey-auth-blah | |
- DATA_DIR=/data | |
- TSNET_VERBOSE=true | |
- USE_FUNNEL=true | |
volumes: | |
- ./data:/data |
OlderNewer