Skip to content

Commit

Permalink
chore(explorer): adds hackachain configs
Browse files Browse the repository at this point in the history
  • Loading branch information
alber70g committed Jan 8, 2025
1 parent 7ac01e1 commit 5517c5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/apps/explorer/apollo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ module.exports = {
client: {
service: {
name: 'graph',
localSchemaFile: __dirname + '/../graph/generated-schema.graphql',
// localSchemaFile: __dirname + '/../graph/generated-schema.graphql',
url: 'https://www.kadindexer.io/graphql',
},
includes: ['src/**/*.ts', 'src/**/*.tsx'],
excludes: ['**/node_modules/**/*', 'src/__generated__/**/*'],
Expand Down
3 changes: 2 additions & 1 deletion packages/apps/explorer/codegen-sdk.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
overwrite: true
# schema: ./node_modules/@kadena/graph/generated-schema.graphql
schema: https://graph.kadena.network/graphql
# schema: https://graph.kadena.network/graphql
schema: https://www.kadindexer.io/graphql
generates:
./src/__generated__/sdk.ts:
documents: 'src/**/*.graph.(ts|tsx)'
Expand Down

0 comments on commit 5517c5d

Please sign in to comment.