about summary refs log tree commit diff
path: root/bskylink/src/routes/siteAssociation.ts
blob: 3a8ef176dc6ffc65416e5cbb3eeed4ee51ee7a4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import {Express} from 'express'

import {AppContext} from '../context.js'

export default function (ctx: AppContext, app: Express) {
  return app.get('/.well-known/apple-app-site-association', (req, res) => {
    res.json({
      applinks: {
        apps: [],
        details: [
          {
            appID: 'B3LX46C5HS.xyz.vikanezrimaya.voidsky',
            paths: ['*'],
          },
        ],
      },
      appclips: {
        apps: ['B3LX46C5HS.xyz.vikanezrimaya.voidsky.AppClip'],
      },
    })
  })
}