• Joined on 2020-08-24
royally commented on issue vikunja/vikunja#643 2020-08-31 09:23:38 +00:00
CORS config does not seem to be working

Hi, yes it does work with * origin -- but for a non-default configuration, this seems to fail. I'm current mitigating this by adding the headers manually on my reverse proxy.

royally opened issue vikunja/frontend#218 2020-08-25 12:12:41 +00:00
Current apple-touch-icon does not show up nicely on iOS devices, when added to home screen
royally commented on issue vikunja/vikunja#643 2020-08-25 11:52:29 +00:00
CORS config does not seem to be working

I have changed the maxage to something more than 0:

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: 1000

Attached are the headers - request is now made against the API endpoint, no reverse proxies involved this time.

I'm using v0.14.1 of the backend, which seems to be the latest available currently.

Yes, the openresty header field was on my end -- I'm using openresty on my reverse proxy server.

royally opened issue vikunja/vikunja#643 2020-08-24 21:16:51 +00:00
CORS config does not seem to be working