Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Fix local env entity manager address #1661

Merged
merged 1 commit into from
Aug 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/web/scripts/configureLocalEnv.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ try {
const REACT_APP_USER_NODE = 'http://cn-um_creator-node_1:4099'

const REACT_APP_REGISTRY_ADDRESS = configFile.registryAddress
const REACT_APP_DATA_CONTRACT_ADDRESS = configFile.audiusDataAddress
const REACT_APP_DATA_CONTRACT_ADDRESS = configFile.entityManagerProxyAddress
console.log(`Using data addr=${REACT_APP_DATA_CONTRACT_ADDRESS}`)
const REACT_APP_WEB3_PROVIDER_URLS = `http://${HOST}:8545,http://${HOST}:8545`

Expand Down Expand Up @@ -125,7 +125,7 @@ try {

// Note .env.dev.local takes precidence over .env.dev
// https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables
fs.writeFile('./.env/.env.dev.local', contents, err => {
fs.writeFile('./.env/.env.dev.local', contents, (err) => {
if (err) {
console.error(err)
}
Expand Down