From b0998b9c9fbe458dd27bb813d8f05e3175cc1c2f Mon Sep 17 00:00:00 2001 From: Benjamin Ledel Date: Thu, 28 Dec 2023 09:20:34 +0100 Subject: [PATCH 1/3] switch backend of h5p to new h5p educa cloud backend --- server/src/config/H5PConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/config/H5PConfig.ts b/server/src/config/H5PConfig.ts index a5829ce53..5a6732170 100644 --- a/server/src/config/H5PConfig.ts +++ b/server/src/config/H5PConfig.ts @@ -65,8 +65,8 @@ export default class H5PConfig implements IH5PConfig { public fetchingDisabled: 0 | 1 = 0; public h5pVersion: string = '1.24-master'; public hubContentTypesEndpoint: string = - 'https://api.h5p.org/v1/content-types/'; - public hubRegistrationEndpoint: string = 'https://api.h5p.org/v1/sites'; + 'https://h5p-hub.educacloud.de/api/v1/content-types/'; + public hubRegistrationEndpoint: string = 'https://h5p-hub.educacloud.de/api/v1/sites'; public installLibraryLockMaxOccupationTime: number = 30000; public installLibraryLockTimeout: number = 60000; public librariesUrl: string = '/libraries'; From b5f1c7d36ca1bbc82f7b250b471988b513d66463 Mon Sep 17 00:00:00 2001 From: Benjamin Ledel Date: Thu, 28 Dec 2023 09:35:33 +0100 Subject: [PATCH 2/3] switch backend of h5p to new h5p educa cloud backend --- server/src/config/H5PConfig.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/config/H5PConfig.ts b/server/src/config/H5PConfig.ts index 5a6732170..586c64931 100644 --- a/server/src/config/H5PConfig.ts +++ b/server/src/config/H5PConfig.ts @@ -66,7 +66,8 @@ export default class H5PConfig implements IH5PConfig { public h5pVersion: string = '1.24-master'; public hubContentTypesEndpoint: string = 'https://h5p-hub.educacloud.de/api/v1/content-types/'; - public hubRegistrationEndpoint: string = 'https://h5p-hub.educacloud.de/api/v1/sites'; + public hubRegistrationEndpoint: string = + 'https://h5p-hub.educacloud.de/api/v1/sites'; public installLibraryLockMaxOccupationTime: number = 30000; public installLibraryLockTimeout: number = 60000; public librariesUrl: string = '/libraries'; From f83b0afcb457493d5cb17db3142c0e8a70db9d23 Mon Sep 17 00:00:00 2001 From: Benjamin Ledel Date: Thu, 28 Dec 2023 09:38:32 +0100 Subject: [PATCH 3/3] switch backend of h5p to new h5p educa cloud backend --- server/src/config/H5PConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/config/H5PConfig.ts b/server/src/config/H5PConfig.ts index 586c64931..69fed9b2d 100644 --- a/server/src/config/H5PConfig.ts +++ b/server/src/config/H5PConfig.ts @@ -66,7 +66,7 @@ export default class H5PConfig implements IH5PConfig { public h5pVersion: string = '1.24-master'; public hubContentTypesEndpoint: string = 'https://h5p-hub.educacloud.de/api/v1/content-types/'; - public hubRegistrationEndpoint: string = + public hubRegistrationEndpoint: string = 'https://h5p-hub.educacloud.de/api/v1/sites'; public installLibraryLockMaxOccupationTime: number = 30000; public installLibraryLockTimeout: number = 60000;