X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fserver%2Fserver.service.ts;h=fc269749bf36d0d7df5df070b83de7403fb4ad80;hb=54909304287f3c04dcfb39660be8ead57dc95440;hp=9f191f0a6a0957c4852f0225fd0402e05385e3ec;hpb=208c97e111f2610880a588964bb61a03503cfcf6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 9f191f0a6..fc269749b 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts @@ -193,7 +193,8 @@ export class ServerService { } private loadHTMLConfigLocally () { - const configString = window['PeerTubeServerConfig'] + // FIXME: typings + const configString = (window as any)['PeerTubeServerConfig'] if (!configString) { throw new Error('Could not find PeerTubeServerConfig in HTML') }