Removing NEXT_PUBLIC_ prefix

This commit is contained in:
Jamie Hewitt 2022-08-22 11:28:08 +03:00
parent a2ac64afa5
commit df8ce6ad4a
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#NEXT_PUBLIC_INFURA_PROJECT_ID="xxx"
#INFURA_PROJECT_ID="xxx"

View File

@ -23,7 +23,7 @@ function getOceanConfig(network: string | number): Config {
network === 'gaiaxtestnet' ||
network === 2021000
? undefined
: process.env.NEXT_PUBLIC_INFURA_PROJECT_ID
: process.env.INFURA_PROJECT_ID
) as Config
return config as Config
}