Преглед изворни кода

Created Dictionary of lists of senders and their API addresses and credentials

DeadTOm пре 3 дана
родитељ
комит
8c225831e1
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      config.py

+ 1 - 3
config.py

@@ -1,6 +1,4 @@
 log_file = '/home/deadtom/logs/owncastcom.log'
 user = 'owncast@deadtom.me'
 passwd = 'xYNOPNhYcPrFyF995joNCom1'
-auth_bearer = 'Bearer 2VajnuURArN0k6XAPLF9P8tFTFGbQpr8TP7Uq5CrtiI='
-api_url = 'http://owncast-actual:8083'
-approved_senders = ['deadtom@deadtom.me',]
+senders = {'deadtom@deadtom.me': ('Bearer 2VajnuURArN0k6XAPLF9P8tFTFGbQpr8TP7Uq5CrtiI=', 'http://owncast-actual:8083'), 'laure@deadtom.me': ('Bearer GA7HtBf4XaV21mrcHrUB2-vamsLMjtWdl47t-CAmKA4=', 'http://owncast-actual:8082')}