server.js -> publish.js