Author

Topic: untitled-dice ssl issue (Read 315 times)

sr. member
Activity: 392
Merit: 268
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
June 19, 2016, 11:50:20 AM
#2
Why would you ever run a site that handles people's money over HTTP and not HTTPS? In 2016, with the availability of the Let's Encrypt certificate authority and the adoption of SSL/TLS, not encrypting traffic to a money-handling site such as a dice site is ludicrous.
member
Activity: 75
Merit: 10
June 19, 2016, 11:00:54 AM
#1
my domain auto redirect to https, how to stop this

i wanna run it in normal http://

here is the code to edit plz help


Code:
// Untitled Dice v0.0.8

// Customize these configuration settings:

var config = {
  // - Your app's id on moneypot.com
  app_id: 18,                             // <----------------------------- EDIT ME!
  // - Displayed in the navbar
  app_name: 'Untitled Dice',
  // - For your faucet to work, you must register your site at Recaptcha
  // - https://www.google.com/recaptcha/intro/index.html
  recaptcha_sitekey: '6LfI_QUTAAAAACrjjuzmLw0Cjx9uABxb8uguLbph',  // <----- EDIT ME!
  redirect_uri: 'https://untitled-dice.github.io',
  mp_browser_uri: 'https://www.moneypot.com',
  mp_api_uri: 'https://api.moneypot.com',
  chat_uri: '//socket.moneypot.com',
  // - Show debug output only if running on localhost
  debug: isRunningLocally(),
  // - Set this to true if you want users that come to http:// to be redirected
  //   to https://
  force_https_redirect: !isRunningLocally(),
  // - Configure the house edge (default is 1%)
  //   Must be between 0.0 (0%) and 1.0 (100%)
  house_edge: 0.01,
  chat_buffer_size: 250,
  // - The amount of bets to show on screen in each tab
  bet_buffer_size: 25
};
Jump to: