function getAdminUrl() {
    var adminUrl = config.get('admin:url'),
        subDir = getSubdir();

    if (!adminUrl) {
        return;
    }

    if (!adminUrl.match(/\/$/)) {
        adminUrl += '/';
    }

    adminUrl = urlJoin(adminUrl, subDir, '/');
    adminUrl = deduplicateSubDir(adminUrl);
    return adminUrl;
}
function getAdminUrl() {
    var adminUrl = config.get('admin:url'),
        subDir = getSubdir();

    if (!adminUrl) {
        return;
    }

    if (!adminUrl.match(/\/$/)) {
        adminUrl += '/';
    }

    adminUrl = urlJoin(adminUrl, subDir, '/');
    adminUrl = deduplicateSubDir(adminUrl);
    return adminUrl;
}
function getAdminUrl ( ) { var adminUrl = config . get ( 'admin:url' ) , subDir = getSubdir ( ) ; if ( ! adminUrl ) { return ; } if ( ! adminUrl . match ( / \/$ / ) ) { adminUrl += '/' ; } adminUrl = urlJoin ( adminUrl , subDir , '/' ) ; adminUrl = deduplicateSubDir ( adminUrl ) ; return adminUrl ; }
admin:url is optional
admin : url is optional
Get admin url