import { INestApplication } from '@nestjs/common' ; export function getGlobalPrefix ( app ) { const internalConfigRef = ( app as any ) . config ; return ( internalConfigRef && internalConfigRef . getGlobalPrefix ( ) ) || '' ; }