mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-04 04:26:38 +08:00
feat: add licensing and access controls
This commit is contained in:
@@ -50,5 +50,9 @@ func ApplyRuntimeSetting(cfg *config.Config, key, value string) {
|
||||
}
|
||||
case "transcode.video_bitrate", "transcoder.video_bitrate":
|
||||
cfg.Transcoder.VideoBitrate = value
|
||||
case "license.server_url":
|
||||
cfg.License.ServerURL = value
|
||||
case "license.hmac_secret":
|
||||
cfg.License.HMACSecret = value
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user