diff --git a/config/facebook.yml b/config/facebook.yml deleted file mode 100644 index a60b0def..00000000 --- a/config/facebook.yml +++ /dev/null @@ -1,11 +0,0 @@ -development: -## with doemal account -app_id: 1049017345154593 -secret: 36b2d6132deb803aa9d503d0034e7a68 - -## My account -#app_id: 434807636720506 -#secret: b94c5e35cde5a2c13cfb2e1ba8be30c6 - - - \ No newline at end of file diff --git a/config/puma.rb b/config/puma.rb index fd89392f..363c65ba 100755 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,6 +1,5 @@ application_path="#{File.expand_path("../..", __FILE__)}" directory application_path -#environment ENV.fetch("RAILS_ENV") { "production" } environment "production" pidfile "#{application_path}/tmp/puma/pid" state_path "#{application_path}/tmp/puma/state" diff --git a/config/secrets.yml b/config/secrets.yml index 0536042a..40e0906e 100755 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -11,12 +11,20 @@ # if you're sharing your code publicly. development: - secret_key_base: a17cafd23cb0d29cf61d909be65790f19f25a117683b25a23419b8cdf87d9ec21135e031130f6192998e385017ec1c3250e493c0e42c2e6241b66e14048c6eb5 + secret_key_base: b61d85f8ed2a1a9e0eeece3443b3e8f838d002cc1d9f32115d8e93db920e2957adfedc57501d44741211538f3108b742cdeada87d5bfae796c53da1f90a3cd61 + sx_provision_url: connect.smartsales.asia/api #connect.smartsales.dev/api #connect.smartsales.asia/api #provision.zsai.ws/api + server_mode: application + cipher_type: AES-256-CBC + sx_key: Wh@t1$C2L test: - secret_key_base: 477062b07514b11d98ad096b82d81cd692af7a9f084e022dc65cfe02b26b01d11dcf950e624927894a3a1850fde5c82c0b27d8a24686b6c2d522154d0adaffec + secret_key_base: 5c92143fd4a844fdaf8b22aba0cda22ef1fc68f1b26dd3d40656866893718ae5e58625b4c3a5dc86b04c8be0a505ec0ebc0be3bf52249a3d1e0c1334ee591cf0 # Do not keep production secrets in the repository, # instead read values from the environment. production: - secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> + secret_key_base: c4bc81065013f9a3506d385bcbd49586c42e586488144b0de90c7da36867de9fa880f46b5c4f86f0ce9b7c783bb5a73bdb0e5605a47716567294390e726d3e22 + sx_provision_url: connect.smartsales.asia/api #192.168.1.147:3002/api + server_mode: application + cipher_type: AES-256-CBC + sx_key: Wh@t1$C2L