Merge pull request #5031 from tsiegleauq/projector-path-madness

Fixes a path issue in the projector
This commit is contained in:
Emanuel Schütze 2019-09-17 17:11:12 +02:00 committed by GitHub
commit 09aa5070b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ import { MediafileSlideData } from './mediafile-slide-data';
}) })
export class MediafileSlideComponent extends BaseSlideComponent<MediafileSlideData, MediafileProjectorElement> { export class MediafileSlideComponent extends BaseSlideComponent<MediafileSlideData, MediafileProjectorElement> {
public get url(): string { public get url(): string {
return `${this.data.data.media_url_prefix}/${this.data.data.path}`; return `${this.data.data.media_url_prefix}${this.data.data.path}`;
} }
public get zoom(): number { public get zoom(): number {