Skip to content

Commit

Permalink
update web config
Browse files Browse the repository at this point in the history
  • Loading branch information
16601314215 authored and 16601314215 committed Aug 15, 2024
1 parent 32d1852 commit 14fb3ca
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
NEXT_PUBLIC_GRAPHQL_URL=http://43.135.26.222:8080/v1/graphql
NEXT_PUBLIC_GRAPHQL_WS=ws://43.135.26.222:8080/v1/graphql
NEXT_PUBLIC_GRAPHQL_URL=https://testnet1.turablockchain.com/v1/graphql
NEXT_PUBLIC_GRAPHQL_WS=wss://testnet1.turablockchain.com/v1/graphql
NODE_ENV=development
PORT=5000
NEXT_PUBLIC_CHAIN_TYPE=testnet
NEXT_PUBLIC_NETWORK_NAME=testnet-tura
NEXT_PUBLIC_RPC_WEBSOCKET=ws:/43.135.26.222:26657/websocket
NEXT_PUBLIC_RPC_WEBSOCKET=wss://testnet1.turablockchain.com/websocket
PROJECT_NAME=web-tura
5 changes: 4 additions & 1 deletion apps/web-tura/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ generates:
./src/graphql/types/general_types.ts:
documents:
- 'src/graphql/general/*'
schema: http://43.135.26.222:8080/v1/graphql
schema:
- https://testnet1.turablockchain.com/v1/graphql:
headers:
x-hasura-admin-secret: "myadminsecretkey"
config:
# omitOperationSuffix: true
skipTypeNameForRoot: true
Expand Down
6 changes: 3 additions & 3 deletions apps/web-tura/src/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@
}
},
"endpoints": {
"graphql": "http://43.135.26.222:8080/v1/graphql",
"graphqlWebsocket": "ws://43.135.26.222:8080/v1/graphql",
"publicRpcWebsocket": "ws://43.135.26.222:26657/websocket"
"graphql": "https://testnet1.turablockchain.com/v1/graphql",
"graphqlWebsocket": "wss://testnet1.turablockchain.com/v1/graphql",
"publicRpcWebsocket": "wss://testnet1.turablockchain.com/websocket"
},
"marketing": {
"matomoURL": "https://analytics.bigdipper.live",
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/src/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@
}
},
"endpoints": {
"graphql": "http://43.135.26.222:8080/v1/graphql",
"graphqlWebsocket": "ws://43.135.26.222:8080/v1/graphql",
"publicRpcWebsocket": "ws://43.135.26.222:26657/websocket"
"graphql": "https://testnet1.turablockchain.com/v1/graphql",
"graphqlWebsocket": "wss://testnet1.turablockchain.com/v1/graphql",
"publicRpcWebsocket": "wss://testnet1.turablockchain.com/websocket"
},
"marketing": {
"matomoURL": "https://analytics.bigdipper.live",
Expand Down

0 comments on commit 14fb3ca

Please sign in to comment.