fioprotocol / fio-registrations

FIO protocol domain and address registration
MIT License
5 stars 9 forks source link

Expose sequalize ssl dialect options via env var #31

Open blockpane opened 4 years ago

blockpane commented 4 years ago

It would useful to allow connecting to a db server using tls by adding a conditional which would add the following option when creating the connection at https://github.com/fioprotocol/fio-registrations/blob/master/server/db/models/index.js#L19

  dialectOptions: {
    ssl: true
  }