Skip to content

Commit

Permalink
hotfix: disable image proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
aaashir committed Jan 28, 2024
1 parent 5df888c commit 3eaa5ad
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
28 changes: 14 additions & 14 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
REACT_APP_VERSION=
REACT_APP_SEARCH_API=
REACT_APP_SCRAPE_API=
REACT_APP_IMAGE_API=
REACT_APP_VIDEO_API=
REACT_APP_CENSOR_API=
REACT_APP_DATABASE_API=
REACT_APP_DATABASE_AUTH_KEY=
REACT_APP_PRICE_CHART_API=
REACT_APP_DEFAULT_RPC_NODE=
REACT_APP_STAGING_VERSION=
REACT_APP_FLEEK_BUCKET=
REACT_APP_HIVE_API_NODE=
REACT_APP_ENV=dev
REACT_APP_VERSION=3.65.1-dev
REACT_APP_SEARCH_API=https://endpoint.d.buzz/api/v1
REACT_APP_SCRAPE_API=https://endpoint.d.buzz/api/v1/meta
REACT_APP_IMAGE_API=https://us-central1-dbuzz-3a79e.cloudfunctions.net/uploadImageEndpoint
REACT_APP_VIDEO_API=https://endpoint.d.buzz/api/v1/video
REACT_APP_CENSOR_API=https://us-central1-dbuzz-3a79e.cloudfunctions.net/censorAPI
REACT_APP_DATABASE_API=https://endpoint.d.buzz/api/v1/database
REACT_APP_DATABASE_AUTH_KEY=DBuzz2023=databaseAPI=
REACT_APP_PRICE_CHART_API=https://endpoint.d.buzz/api/v1/price
REACT_APP_DEFAULT_RPC_NODE=https://rpc.d.buzz
REACT_APP_STAGING_VERSION=0.15.1
REACT_APP_FLEEK_BUCKET=nathansenn-team-bucket.storage.fleek.co
REACT_APP_HIVE_API_NODE=https://api.hive.blog
REACT_APP_ENV=dev
22 changes: 11 additions & 11 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
REACT_APP_VERSION=$npm_package_version
REACT_APP_SEARCH_API=
REACT_APP_SCRAPE_API=
REACT_APP_IMAGE_API=
REACT_APP_VIDEO_API=
REACT_APP_CENSOR_API=
REACT_APP_DATABASE_API=
REACT_APP_DATABASE_AUTH_KEY=
REACT_APP_PRICE_CHART_API=
REACT_APP_DEFAULT_RPC_NODE=
REACT_APP_FLEEK_BUCKET=
REACT_APP_HIVE_API_NODE=
REACT_APP_SEARCH_API=https://endpoint.d.buzz/api/v1
REACT_APP_SCRAPE_API=https://endpoint.d.buzz/api/v1/meta
REACT_APP_IMAGE_API=https://us-central1-dbuzz-3a79e.cloudfunctions.net/uploadImageEndpoint
REACT_APP_VIDEO_API=https://endpoint.d.buzz/api/v1/video
REACT_APP_CENSOR_API=https://us-central1-dbuzz-3a79e.cloudfunctions.net/censorAPI
REACT_APP_DATABASE_API=https://endpoint.d.buzz/api/v1/database
REACT_APP_DATABASE_AUTH_KEY=DBuzz2023=databaseAPI=
REACT_APP_PRICE_CHART_API=https://endpoint.d.buzz/api/v1/price
REACT_APP_DEFAULT_RPC_NODE=https://rpc.d.buzz
REACT_APP_FLEEK_BUCKET=nathansenn-team-bucket.storage.fleek.co
REACT_APP_HIVE_API_NODE=https://api.hive.blog
REACT_APP_ENV=prod
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "d.buzz-client",
"homepage": ".",
"version": "3.45.0",
"version": "3.45.1",
"private": true,
"dependencies": {
"3id-blockchain-utils": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/services/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ export const isImageUrl404 = async (url) => {
}

export const proxyImage = (url) => {
const enabled = true
const enabled = false
let imageUrl = url

if(enabled) {
Expand Down

0 comments on commit 3eaa5ad

Please sign in to comment.