process.on('bootstrap-module-global-public-route', (app, globalPublicRouter) => {
    /*
     * can add global public routes to application (auth not required, tenancy not required)
     *
     * ex) routes.get('/path', async(context, next) => {})
     * ex) routes.post('/path', async(context, next) => {})
     */
    globalPublicRouter.get('/.well-known/assetlinks.json', async (ctx) => {
        ctx.set('Content-Type', 'application/json');
        ctx.body = [
            {
                relation: ['delegate_permission/common.handle_all_urls', 'delegate_permission/common.get_login_creds'],
                target: {
                    namespace: 'android_app',
                    package_name: 'kr.co.esome.sunsage.twa',
                    sha256_cert_fingerprints: [
                        'F6:33:B3:6B:20:6D:A7:82:28:32:B4:E1:93:63:DB:61:A1:7A:91:10:A1:0A:C1:92:0C:BC:1F:58:CD:2A:D5:B6'
                    ]
                }
            }
        ];
        ctx.status = 200;
    });
    // 앱 버전 체크 API
    globalPublicRouter.get('/app/version.json', async (ctx) => {
        ctx.set('Content-Type', 'application/json');
        ctx.body = {
            ios: '2.0.2',
            android: '2.0.0'
        };
        ctx.status = 200;
    });
});
process.on('bootstrap-module-global-private-route', (app, globalPrivateRouter) => {
    /*
     * can add global private routes to application (auth required, tenancy not required)
     */
});
process.on('bootstrap-module-domain-public-route', (app, domainPublicRouter) => {
    /*
     * can add domain public routes to application (auth not required, tenancy required)
     */
});
process.on('bootstrap-module-domain-private-route', (app, domainPrivateRouter) => {
    /*
     * can add domain private routes to application (auth required, tenancy required)
     */
});
//# sourceMappingURL=routes.js.map