Update to use production content hub api

stable
Thomas Marstrander 2021-04-07 15:45:36 +02:00
parent d2522e3800
commit fe3f4a504d
1 changed files with 3 additions and 3 deletions

View File

@ -2043,9 +2043,9 @@ abstract class H5PContentStatus {
abstract class H5PHubEndpoints {
const CONTENT_TYPES = 'api.h5p.org/v1/content-types/';
const SITES = 'api.h5p.org/v1/sites';
const METADATA = 'api-test.h5p.org/v1/metadata';
const CONTENT = 'api-test.h5p.org/v1/contents';
const REGISTER = 'api-test.h5p.org/v1/accounts';
const METADATA = 'hub-api.h5p.org/v1/metadata';
const CONTENT = 'hub-api.h5p.org/v1/contents';
const REGISTER = 'hub-api.h5p.org/v1/accounts';
public static function createURL($endpoint) {
$protocol = (extension_loaded('openssl') ? 'https' : 'http');