Turn audio into a shareable video. forked from nypublicradio/audiogram

patch-settings.js 317B

1234567891011121314151617
  1. var serverSettings = require("../lib/settings/");
  2. module.exports = function(newSettings) {
  3. for (var key in serverSettings) {
  4. if (!(key in newSettings)) {
  5. delete serverSettings[key];
  6. }
  7. }
  8. for (var key in newSettings) {
  9. serverSettings[key] = newSettings[key];
  10. }
  11. return serverSettings;
  12. };