chiark / gitweb /
actix: Fix CORS
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Apr 2022 21:57:21 +0000 (22:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Apr 2022 21:57:21 +0000 (22:57 +0100)
commit2e023ecc04c4f7d1ad30e535ad2d983df506d066
treec3d655e5cbe0b354bbc82253293f3233ccdf33f9
parent6c722c099ca3be56653a26f658df9b1a0dce0b36
actix: Fix CORS

The docs aren't entirely clear but suggest that the default allowed
origins is All.  But dbg! output seems to contradict this.  And we
should support more headers, and say that we don't vary our CORS at
all.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/main.rs