mercredi 2 août 2017

private_pub not realtime on production(staging)

i have my app using private_pub for realtime chat.

it works perfectly on local host. but when it is deployed, the chat worked but not realtime.

here is my config/private_pub.yml

development:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
test:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
staging:
  server: "http://ift.tt/2v0uCql"
  secret_token: "1d2ac92b1742d58417ae0a005245e603bab150e34721178c3551079aaf44791d76a1238be7cf54a72d623324ae6612e9f553c5615fdc6dbe84558c1b860b84f8"

i read that i must configure the Faye setting that can run on server. but i dont know how to set it.

pls anyone help me

Aucun commentaire:

Enregistrer un commentaire