返回列表

base64的favicon.ico

默认分类 2018/03/06 20:03

base64的favicon.ico

app.use('/favicon.ico', function(req, res, next) {
    res.writeHead('200', {
        'Content-Type': 'image/x-icon'
    }) //写http头部信息
    res.end(new Buffer([
      'AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAA',
      'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANagAI',
      'rWoADz1qAA/9agAP/WoAD/1qAA/9agAP/WoAD/1qAA/9agAP/WoAD/1qAA/9agAPPWoACKAAAAANagAIrWoAD/1qAA/9agAP/WoA',
      'D/1qAA/9agAP/WoAD/1qAA/9agAP/WoAD/1qAA/9agAP/WoAD/1qAA/9agAIrWoAD/1qAA/9agAEfWoAAN1qAADdagAA3WoAAN1q',
      'AADdagAA3WoAAN1qAADdagAA3WoAAN1qAAR9agAP/WoAD/1qAA/9agAP8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
      'AAAAAAAAAAAAAAAAAAAADWoAD/1qAA/9agAP/WoAD/1qAADQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
      'DWoAAN1qAA/9agAP/WoAD/1qAA/9agAAQAAAAA1qAAz9agAM/WoAAEAAAAAAAAAADWoAAE1qAAz9agAM8AAAAA1qAABNagAP/WoA',
      'D/1qAA/9agAP8AAAAAAAAAANagAP/WoAD/1qAADQAAAAAAAAAA1qAADdagAP/WoAD/AAAAAAAAAADWoAD/1qAA/9agAP/WoAD/1q',
      'AABAAAAADWoADP1qAAz9agAAQAAAAAAAAAANagAATWoADP1qAAzwAAAADWoAAE1qAA/9agAP/WoAD/1qAA/wAAAAAAAAAAAAAAAA',
      'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANagAP/WoAD/1qAA/9agAP/WoABH1qAADQAAAAAAAAAA1qAADdagAA',
      '3WoAAN1qAADQAAAAAAAAAA1qAADdagAEfWoAD/1qAA/9agAIrWoAD/1qAA/9agAP/WoADy1qAA8tagAP/WoAD/1qAA/9agAP/WoA',
      'Dy1qAA8tagAP/WoAD/1qAA/9agAIoAAAAA1qAAitagAPDWoADz1qAA/9agAP/WoAD/1qAA/9agAP/WoAD/1qAA/9agAP/WoADz1q',
      'AA8NagAIoAAAAAAAAAAAAAAADWoAAN1qAAr9agAP/WoADz1qAAQNagAA3WoAAN1qAAQNagAPPWoAD/1qAAr9agAA0AAAAAAAAAAA',
      'AAAAAAAAAA1qAAJNagAP/WoAD/1qAAOAAAAAAAAAAAAAAAAAAAAADWoAA41qAA/9agAP/WoAAkAAAAAAAAAAAAAAAAAAAAANagAB',
      'fWoACv1qAAcQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANagAHHWoACv1qAAFwAAAAAAAAAA//8AAIABAAAAAAAAAAAAAD/8AAAf+A',
      'AAEYgAADGMAAARiAAAP/wAAAwwAAAAAAAAgAEAAMADAADDwwAAx+MAAA=='
    ].join(''), 'base64'), 'binary')
  })