-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: [#4879](#4879) ## What is the purpose of the change Enables cors on localOsmosis for: - rpc - api - gRPC-web ## Brief Changelog - Enable cors by default on localosmosis ## Testing and Verifying Start localosmosis: ```bash make localnet-start ``` Check file changes: ```bash ❯ cat ~/.osmosisd-local/config/config.toml | grep cors cors_allowed_headers = ["Origin", "Accept", "Content-Type", "X-Requested-With", "X-Server-Time", "Accept-Encoding"] cors_allowed_methods = ["HEAD", "GET", "POST", "DELETE", "OPTIONS", "PATCH", "PUT"] cors_allowed_origins = ["*"] ``` ```bash ❯ cat ~/.osmosisd-local/config/app.toml | grep cors enabled-unsafe-cors = true enable-unsafe-cors = true ``` ## Documentation and Release Note - Does this pull request introduce a new feature or user-facing behavior changes? no - Is a relevant changelog entry added to the `Unreleased` section in `CHANGELOG.md`? yes - How is the feature or change documented? not applicable (cherry picked from commit 3b2e168) # Conflicts: # CHANGELOG.md # tests/localosmosis/scripts/setup.sh
- Loading branch information
1 parent
8eab695
commit 8529c2a
Showing
3 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters