Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25decc1

Browse files
authored
chore: fix broken docs links (coder#8198)
* chore: add examples templates to docs filter * chore: fix broken docs links * Discard changes to .github/workflows/ci.yaml
1 parent 70cd871 commit 25decc1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/admin/audit-logs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ In addition to the user interface, there are multiple ways to consume or query a
4949

5050
## REST API
5151

52-
Audit logs can be accessed through our REST API. You can find detailed information about this in our [endpoint documentation](../api/audit#get-audit-logs).
52+
Audit logs can be accessed through our REST API. You can find detailed information about this in our [endpoint documentation](../api/audit.md#get-audit-logs).
5353

5454
## Service Logs
5555

5656
Audit trails are also dispatched as service logs and can be captured and categorized using any log management tool such as [Splunk](https://splunk.com).
5757

58-
Example of a [JSON formatted](../cli/server#--log-json) audit log entry:
58+
Example of a [JSON formatted](../cli/server.md#--log-json) audit log entry:
5959

6060
```json
6161
{
@@ -90,7 +90,7 @@ Example of a [JSON formatted](../cli/server#--log-json) audit log entry:
9090
}
9191
```
9292

93-
Example of a [human readable](../cli/server#--log-human) audit log entry:
93+
Example of a [human readable](../cli/server.md#--log-human) audit log entry:
9494

9595
```sh
9696
2023-06-13 03:43:29.233 [info] coderd: audit_log ID=95f7c392-da3e-480c-a579-8909f145fbe2 Time="2023-06-13T03:43:29.230422Z" UserID=6c405053-27e3-484a-9ad7-bcb64e7bfde6 OrganizationID=00000000-0000-0000-0000-000000000000 Ip=<nil> UserAgent=<nil> ResourceType=workspace_build ResourceID=988ae133-5b73-41e3-a55e-e1e9d3ef0b66 ResourceTarget="" Action=start Diff="{}" StatusCode=200 AdditionalFields="{\"workspace_name\":\"linux-container\",\"build_number\":\"7\",\"build_reason\":\"initiator\",\"workspace_owner\":\"\"}" RequestID=9682b1b5-7b9f-4bf2-9a39-9463f8e41cd6 ResourceIcon=""

docs/networking/port-forwarding.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ must include credentials (set `credentials: "include"` if using `fetch`) or the
100100
requests cannot be authenticated and you will see an error resembling the
101101
following:
102102

103-
> 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.
103+
> 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.
104104
105105
#### Headers
106106

@@ -110,7 +110,7 @@ Below is a list of the cross-origin headers Coder sets with example values:
110110
access-control-allow-credentials: true
111111
access-control-allow-methods: PUT
112112
access-control-allow-headers: X-Custom-Header
113-
access-control-allow-origin: https://8000--dev--user--apps.dev.coder.com
113+
access-control-allow-origin: https://8000--dev--user--apps.coder.example.com
114114
vary: Origin
115115
vary: Access-Control-Request-Method
116116
vary: Access-Control-Request-Headers

0 commit comments

Comments
 (0)