Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blocks:server_configuration_file [2024-10-22 09:35] – ↷ Links adapted because of a move operation admin | blocks:server_configuration_file [2025-11-12 09:13] (current) – Note for spotSnap added in 7.4 admin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * By changing configuration options for the Blocks server itself. This is done through a configuration file read by the Blocks server as it starts up. | * By changing configuration options for the Blocks server itself. This is done through a configuration file read by the Blocks server as it starts up. | ||
| - | * By changing operating system settings to activate other, complementary features, such as DNS, DHCP, remote access, enterprise wifi network integration, | + | * By changing operating system settings to activate other, complementary features, such as DNS, DHCP, remote access, enterprise wifi network integration, |
| ===== Configuration File Settings ===== | ===== Configuration File Settings ===== | ||
| Line 105: | Line 105: | ||
| * **type**. Server type. Must be set to // | * **type**. Server type. Must be set to // | ||
| * **corsPath** and **corsAllowOrigin**. If you want to accept calls from other servers/ | * **corsPath** and **corsAllowOrigin**. If you want to accept calls from other servers/ | ||
| - | * ** applicationConnectors**. | + | * ** applicationConnectors**. |
| + | * **allowCrossSiteAuth**. Set to true to allow cross-site authentication (e.g. for the Blocks editor), such as from within an IFRAME. Browsers allow this only under HTTPS, so you'll need HTTPS and a certificate to use this feature in addition to setting this option to true. | ||
| See below for details on server sub-options. | See below for details on server sub-options. | ||
| Line 194: | Line 195: | ||
| apiKeys: | apiKeys: | ||
| upload: " | upload: " | ||
| + | spotSnap: " | ||
| customKey: " | customKey: " | ||
| </ | </ | ||
| The //upload// key's value (if specified) will be used by Blocks' | The //upload// key's value (if specified) will be used by Blocks' | ||
| + | |||
| + | The // | ||
| You can specify additional key/value pairs, as exemplified by the // | You can specify additional key/value pairs, as exemplified by the // | ||