openstax / os-webview

:books: Front-end web application for the OpenStax web site
28 stars 6 forks source link

Handle empty string for settings.apiOrigin #1288

Closed RoyEJohnson closed 5 years ago

RoyEJohnson commented 6 years ago

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

meeragovindaraju commented 5 years ago

@RoyEJohnson Is this issue released or archived?

RoyEJohnson commented 5 years ago

@meeragovindaraju It was released.