Skip to content

Commit

Permalink
upgrade Next.js codemod for next-image-to-legacy-image
Browse files Browse the repository at this point in the history
updated ipfsDomain to proxy.pylons.tech because of slow loading on ipfs.io
  • Loading branch information
Raviramnani1 committed Jul 27, 2024
1 parent 4260790 commit 4a61db3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion buy-now/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const nextConfig = {
reactStrictMode: true,
swcMinify: true,
images: {
domains: ['ipfs.io']
domains: ['proxy.pylons.tech']
},
publicRuntimeConfig: {
// Will be available on both server and client
Expand Down
11 changes: 5 additions & 6 deletions buy-now/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"@mui/icons-material": "^5.10.3",
"@mui/material": "^5.10.3",
"@reduxjs/toolkit": "^1.8.5",
"axios": "^0.27.2",
"axios": "^1.7.2",
"cross-env": "^7.0.3",
"eslint-plugin-testing-library": "^5.7.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"next": "~12.2.2",
"next": "^14.2.5",
"next-i18next": "^12.0.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
Expand All @@ -41,16 +41,15 @@
"@testing-library/user-event": "14.2.0",
"@types/react": "18.0.9",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-next": "14.2.5",
"eslint-config-prettier": "^8.10.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-react": "^7.31.6",
"jest": "28.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "28.1.0",
"prettier": "^2.7.1",
"typescript": "^4.8.2"
Expand Down
2 changes: 1 addition & 1 deletion easel/lib/utils/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class SVGUtils {
const String kLoadingGif = 'assets/images/gifs/loading.gif';

/// ```URL constants
const ipfsDomain = 'https://ipfs.io/ipfs';
const ipfsDomain = 'https://proxy.pylons.tech/ipfs';
const proxyIpfsDomain = 'https://proxy.pylons.tech/ipfs';
const kPlayStoreUrl = 'https://play.google.com/store/apps/details?id=tech.pylons.wallet';
const kWalletIOSId = 'xyz.pylons.wallet';
Expand Down
2 changes: 1 addition & 1 deletion wallet/lib/utils/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ const String kNotificationsIds = "notificationIDs";
const String kZeroDouble = "0.0";
const String kZeroInt = "0";

const ipfsDomain = 'https://ipfs.io/ipfs';
const ipfsDomain = 'https://proxy.pylons.tech/ipfs';
const proxyIpfsDomain = 'https://proxy.pylons.tech/ipfs';

const hintTextEmail = '[email protected]';
Expand Down

0 comments on commit 4a61db3

Please sign in to comment.