settings.apiOrigin is used to point URLs at the current deployment environment, using an absolute path. When osweb is moved behind CloudFront, it will need to use this-domain paths (no server specified), which means settings.apiOrigin will be an empty string.
See also:
https://github.com/openstax/oscms-deployment/pull/76/files
settings.apiOrigin
is used to point URLs at the current deployment environment, using an absolute path. When osweb is moved behind CloudFront, it will need to use this-domain paths (no server specified), which meanssettings.apiOrigin
will be an empty string. See also: https://github.com/openstax/oscms-deployment/pull/76/files