mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(proxy): remove public url field for built-in proxy
This commit is contained in:
@@ -34,6 +34,7 @@ export abstract class BaseProxy {
|
||||
constructor(config: StreamProxyConfig) {
|
||||
if (config.id === constants.BUILTIN_SERVICE) {
|
||||
config.url = Env.BASE_URL;
|
||||
config.publicUrl = undefined;
|
||||
}
|
||||
if (!config.id || !config.credentials || !config.url) {
|
||||
throw new Error('Proxy configuration is missing');
|
||||
|
||||
Reference in New Issue
Block a user