Lumieducation / H5P-Nodejs-library

h5p-nodejs-library is a collection of server and client-side packages that help you use H5P with a NodeJS backend
https://docs.lumi.education
GNU General Public License v3.0
160 stars 79 forks source link

[H5P Server] Add Configuration Overrides for coreApiVersion and h5pVersion #3703

Open dominikbruechner opened 4 months ago

dominikbruechner commented 4 months ago

Summary

This PR introduces the ability to override the H5P Server's coreApiVersion and h5pVersion configuration values from storage, which should be currently set to 1.26 and 1.25, respectively.

Motivation

By allowing these overrides, we enable updating the core (as outlined in Lumi's core updates documentation) without requiring users to manually override the config, but load the values from storage.

Changes

Cheers! :)