Skip to content

fex-team/receiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

receiver

FIS receiver on node.js

use

$ git clone https://github.com/fex-team/receiver.git
$ cd receiver
$ npm install
$ node server.js # default port 8999, use `node server.js <port>` change port

fis-conf.js

fis.config.merge({
    deploy: {
        remote: {
            receiver: 'http://<host>:8999/receiver',
            from: '/public',
            //远端目录
            to: '/home/fis/www/'
        }
    }
});

fis3 中配置方式。

fis.match('*', {
  deploy: fis.plugin('http-push', {
    receiver: 'http://<host>:8999/receiver',
    //远端目录
    to: '/home/fis/www/'
  })
})

Releases

No releases published

Packages

No packages published