import { createApp } from './app/server';
import { logger } from './shared/logger';

const { app, config } = await createApp();

logger.info('mac-sync-server listening', { port: config.PORT });

export default { port: config.PORT, fetch: app.fetch };
