Below is configured in
cors: # Whether to enable or disable cors headers. # Note: If you want to put the frontend and the api on seperate domains or ports, you will need to enable this. # Otherwise the frontend won't be able to make requests to the api through the browser. enable: true # A list of origins which may access the api. origins: - testhost.com # How long (in seconds) the results of a preflight request can be cached. maxage: 0
access-control-allow-origin header is empty when the origins are added, regardless of the number of origins entered.
Attached is a screenshot of the header, the
/api/v1/info endpoint has been attempted to produce this screenshot.
Is the CORS config working properly?