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

Skip to content

Commit af4dba0

Browse files
committed
docs: add note about CORS headers applying only via dashboard
1 parent dfec519 commit af4dba0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/networking/port-forwarding.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,12 @@ You can read more on SSH port forwarding [here](https://www.ssh.com/academy/ssh/
9797

9898
## Cross-origin resource sharing (CORS)
9999

100-
Coder automatically sets headers that allow requests between separately
101-
forwarded applications belonging to the same user.
100+
When forwarding via the dashboard, Coder automatically sets headers that allow
101+
requests between separately forwarded applications belonging to the same user.
102+
103+
When forwarding through other methods the application itself will need to set
104+
its own CORS headers if they are being forwarded through different origins since
105+
Coder does not intercept these cases. See below for the required headers.
102106

103107
### Authentication
104108

0 commit comments

Comments
 (0)