[skip ci] Fix for https://github.com/iBicha/playlet/issues/671
This commit is contained in:
1 parent
19f304bd3e
commit
c70d00e156
1 file changed
+3
-1
@@ -92,7 +92,9 @@ namespace Invidious
|
|||||||
function GetPlayletBuiltinInstance() as string
|
function GetPlayletBuiltinInstance() as string
|
||||||
instance = PLAYLET_BUILT_IN_INSTANCE
|
instance = PLAYLET_BUILT_IN_INSTANCE
|
||||||
address = m.invidiousNode.webServer@.GetServerAddress()
|
address = m.invidiousNode.webServer@.GetServerAddress()
|
||||||
instance = instance.Replace("http://127.0.0.1:8888", address)
|
if not StringUtils.IsNullOrEmpty(address)
|
||||||
|
instance = instance.Replace("http://127.0.0.1:8888", address)
|
||||||
|
end if
|
||||||
return instance
|
return instance
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user