mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: fix broken docs links (#8198)
* chore: add examples templates to docs filter * chore: fix broken docs links * Discard changes to .github/workflows/ci.yaml
This commit is contained in:
@@ -100,7 +100,7 @@ must include credentials (set `credentials: "include"` if using `fetch`) or the
|
||||
requests cannot be authenticated and you will see an error resembling the
|
||||
following:
|
||||
|
||||
> Access to fetch at 'https://dev.coder.com/api/v2/applications/auth-redirect' from origin 'https://8000--dev--user--apps.dev.coder.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
|
||||
> Access to fetch at 'https://coder.example.com/api/v2/applications/auth-redirect' from origin 'https://8000--dev--user--apps.coder.example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
|
||||
|
||||
#### Headers
|
||||
|
||||
@@ -110,7 +110,7 @@ Below is a list of the cross-origin headers Coder sets with example values:
|
||||
access-control-allow-credentials: true
|
||||
access-control-allow-methods: PUT
|
||||
access-control-allow-headers: X-Custom-Header
|
||||
access-control-allow-origin: https://8000--dev--user--apps.dev.coder.com
|
||||
access-control-allow-origin: https://8000--dev--user--apps.coder.example.com
|
||||
vary: Origin
|
||||
vary: Access-Control-Request-Method
|
||||
vary: Access-Control-Request-Headers
|
||||
|
||||
Reference in New Issue
Block a user