Development settings
The Development settings page overrides the URLs of the DataCurso service that Course Creator AI connects to. These settings are intended for development or staging environments only.
warning
Leave both settings empty in production to use the standard service.
Open the page
- Log in to your Moodle site as an administrator and go to
Site administration > Plugins > Local plugins > Course Creator AI > Development settings. - Change the settings described below.
- Click
Save changes.
Settings
| Setting | Description | Default |
|---|---|---|
| DataCurso service URL | URL of the DataCurso AI service (standard region). | Empty |
| DataCurso service URL (EU) | URL of the DataCurso AI service hosted in the EU region (GDPR-compliant). | Empty |
When a setting is empty, the plugin uses the standard service.
URL validation
Both settings only accept the following values:
- An empty value.
- A URL that starts with
https://. - A URL that starts with
http://localhostorhttp://127.0.0.1, optionally followed by a port and a path. This is only accepted while developer debugging is enabled, that is, when Debug messages is set to DEVELOPER: extra Moodle debug messages for developers inSite administration > Development > Debugging.
Any other value, including any other http:// URL, is rejected with this error and the setting is not saved:
The service URL must use HTTPS. Plain HTTP is only allowed for localhost or 127.0.0.1 while developer debugging is enabled.
info
HTTPS is required since Course Creator AI 2.0.5.