Browse Source

update URLs for Babylon

Klaudiusz Dembler 4 years ago
parent
commit
4794b87c78
3 changed files with 5 additions and 5 deletions
  1. 1 1
      package.json
  2. 1 1
      src/config/urls.ts
  3. 3 3
      src/mocking/data/raw/coverVideo.json

+ 1 - 1
package.json

@@ -19,7 +19,7 @@
   },
   "scripts": {
     "start": "react-app-rewired start",
-    "start:prod": "REACT_APP_QUERY_NODE_URL=https://hydra-staging.joystream.app/server/graphql REACT_APP_ORION_URL=https://orion-staging.joystream.app/graphql REACT_APP_STORAGE_NODE_URL=https://staging-3.joystream.app/storage/asset/v0/ yarn start",
+    "start:prod": "REACT_APP_QUERY_NODE_URL=https://hydra.joystream.org/graphql REACT_APP_ORION_URL=https://orion.joystream.org/graphql REACT_APP_STORAGE_NODE_URL=https://rome-rpc-endpoint.joystream.org/asset/v0/ yarn start",
     "dev": "yarn start",
     "dev:prod": "yarn start:prod",
     "build": "react-app-rewired build",

+ 1 - 1
src/config/urls.ts

@@ -13,7 +13,7 @@ export const QUERY_NODE_GRAPHQL_URL = envQueryNodeUrl || MOCK_QUERY_NODE_GRAPHQL
 export const MOCK_ORION_GRAPHQL_URL = '/orion-graphql'
 export const ORION_GRAPHQL_URL = envOrionUrl || MOCK_ORION_GRAPHQL_URL
 
-export const MOCK_STORAGE_NODE_URL = 'https://staging-3.joystream.app/storage/asset/v0/'
+export const MOCK_STORAGE_NODE_URL = 'https://rome-rpc-endpoint.joystream.org/asset/v0/'
 export const STORAGE_NODE_URL = envStorageNodeUrl || MOCK_STORAGE_NODE_URL
 
 export const SENTRY_DSN = envSentryDSN

+ 3 - 3
src/mocking/data/raw/coverVideo.json

@@ -1,6 +1,6 @@
 {
   "video": {
-    "id": "358",
+    "id": "1582",
     "title": "Ghost Signals",
     "description": "How We Lost Trust In Authority, And Authority Taught Us To Distrust Ourselves",
     "views": 132,
@@ -18,9 +18,9 @@
     "coverCutLocation": { "url": "https://eu-central-1.linodeobjects.com/atlas-assets/cover-video/cut.mp4" }
   },
   "channel": {
-    "id": "346",
+    "id": "102",
     "handle": "SCHISM",
-    "avatarPhotoUrl": "https://eu-central-1.linodeobjects.com/joystream/schismavatar.png",
+    "avatarPhotoUrl": "https://eu-central-1.linodeobjects.com/joystream/schismavatar_black.png",
     "coverPhotoUrl": null
   },
   "license": {