File size: 295 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import config from '@automattic/calypso-config';
import express from 'express';
import signInWithApple from './sign-in-with-apple';
export default function api() {
const app = express();
if ( config.isEnabled( 'sign-in-with-apple/redirect' ) ) {
signInWithApple( app );
}
return app;
}
|