Skip to content

Commit 1e9413f

Browse files
authored
Update - Gnosis docs : note about browser extension for handling CORS (#2258)
* Update docs for gnosis/safe package for building within vue env * Add clarity and remoinder for peerDeps * Add cors blocking extension notes
1 parent 1392442 commit 1e9413f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/src/routes/docs/[...4]wallets/[...12]gnosis/+page.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,12 @@ Note: With the `safeTxGas` you will see additional value on the `gasLimit` displ
7979

8080
## Build Environments
8181

82-
For build env configurations and setups please see the Build Env section [here](/docs/modules/core#build-environments)
82+
For build env configurations and setups please see the Build Env section [here](/docs/modules/core#build-environments).
83+
84+
85+
## Local testing within the Safe app
86+
87+
Ensure the application is building and working properly within the browser and then add or enable your cors blocker extension or script of choice. An example is the `Allow CORS` browser extension.
8388

8489
## Vue Build Configuration
8590

packages/gnosis/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ let trans = await wallet.instance.txs.send({txs:[tx], params})
5959
Note: With the `safeTxGas` you will see additional value on the `gasLimit` displayed in the Safe. Check [Safe docs](https://github.com/safe-global/safe-contracts/blob/a6504a9afdeac186a8cdb29ad68b189523c80eda/docs/safe_tx_gas.md) for full details on that computation.
6060

6161

62+
## Local testing within the Safe app
63+
64+
Ensure the application is building and working properly within the browser and then add or enable your cors blocker extension or script of choice. An example is the `Allow CORS` browser extension.
65+
6266
## Vue Build Configuration
6367

6468
If using Vue be sure to include the necessary peerDeps in the `vite.config.ts` specifically within the `optimizeDeps.include` list and install the necessary peer deps `npm i @safe-global/safe-apps-provider @safe-global/safe-apps-sdk`.

0 commit comments

Comments
 (0)