Skip to content

Commit

Permalink
chore: update regen server api endpoints (#138)
Browse files Browse the repository at this point in the history
* chore: update regen server api endpoints

* empty commit
  • Loading branch information
ryanchristo authored Aug 9, 2023
1 parent abafc9e commit 007e031
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_LOCAL_HOSTNAME=http://127.0.0.1
VITE_PROXY_URL_REGEN_MAINNET=http://api.registry.regen.network
VITE_PROXY_URL_REGEN_TESTNET=http://api-staging.registry.regen.network
VITE_INDEXER_GRAPHQL_API=http://localhost:5000/indexer/graphql
VITE_INDEXER_GRAPHQL_API=http://localhost:5000/indexer/v1/graphql
2 changes: 1 addition & 1 deletion indexer-codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CodegenConfig } from '@graphql-codegen/cli'

const config: CodegenConfig = {
overwrite: true,
schema: 'http://localhost:5000/indexer/graphql',
schema: 'http://localhost:5000/indexer/v1/graphql',
documents: ['src/graphql/indexer/**/*.graphql'],
generates: {
'./src/gql/': {
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[context.production.environment]
VITE_INDEXER_GRAPHQL_API="https://api.registry.regen.network/indexer/graphql"
VITE_INDEXER_GRAPHQL_API="https://api.regen.network/indexer/v1/graphql"

[context.deploy-preview.environment]
VITE_INDEXER_GRAPHQL_API="https://api-staging.registry.regen.network/indexer/graphql"
VITE_INDEXER_GRAPHQL_API="https://api-staging.regen.network/indexer/v1/graphql"

[[redirects]]
from = "/*"
Expand Down

0 comments on commit 007e031

Please sign in to comment.