You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 169c8f8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/cli.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -430,10 +430,10 @@ Set service configuration.
430
430
opencode service set hostname 0.0.0.0
431
431
```
432
432
433
-
Allow an extra CORS origin.
433
+
Set the allowed CORS origins, replacing the current list. The value is a comma-separated list of HTTP(S) origins, written without paths or trailing slashes.
434
434
435
435
```bash
436
-
opencode service set cors https://app.example.com
436
+
opencode service set cors https://app.example.com,https://admin.example.com
437
437
```
438
438
439
439
Pass an environment variable to the server process.
0 commit comments