Diamond
Diamond
@auouymous Actually, that's not the case! See: > > **Note**: This does not lead to the browser leaking cookies. Calling `fetch` with `credentials: "include"` will cause the browser to error...
CI seems to be failing because of an earlier commit upstream.
> @diamondburned Try rerunning `cargo +nightly fmt` against the latest changes? The formatting issue came from a separate PR and I don't want to fix that PR in my PR....
> Why did you remove the Cors::permissive debug mode? The new change is effectively what `permissive` is, so I didn't see a point in keeping it. The only reason why...
@dessalines If it helps with the reviewing process, I can add back permissive debug mode.
CI seems to be failing with a "no space left on device" error: ``` Compiling lemmy_api_crud v0.18.1-rc.9 (/woodpecker/src/github.com/LemmyNet/lemmy/crates/api_crud) LLVM ERROR: IO failure on output stream: No space left on device...
> move the permissive config into a var or function somewhere that can be called in either case. What do you mean by this? What should I need a function...
@dessalines Added the `debug_assertions` check. The logic above can essentially be shortened down to `if (debugging or no CORS variable) then permissive else restrictive`.
This is rather tedious. I'm not sure if the obvious fix (allow CORS credentials) is the right fix here for security reasons. Is there no other way to pass the...
I found a workaround in the meantime: ```html templ x() { {` package main func main() { println("Hello, world!") } `} } ```