fix(proxy): remove public url field for built-in proxy

This commit is contained in:
Viren070
2025-10-12 21:39:38 +01:00
parent 27ab37b044
commit 2569f70960
+1
View File
@@ -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');