Skip to content

Commit

Permalink
fix: use production service configuration by default in w3console (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
travis authored Mar 23, 2023
1 parent 5650893 commit 04990c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/react/w3console/src/components/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import * as DID from '@ipld/dag-ucan/did'

export const accessServiceURL = new URL(
//'https://w3access-staging.protocol-labs.workers.dev'
import.meta.env.VITE_W3UP_ACCESS_SERVICE_URL
import.meta.env.VITE_W3UP_ACCESS_SERVICE_URL ?? 'https://access.web3.storage'
)
export const accessServicePrincipal = DID.parse(
//'did:web:staging.web3.storage'
import.meta.env.VITE_W3UP_ACCESS_SERVICE_DID
import.meta.env.VITE_W3UP_ACCESS_SERVICE_DID ?? 'did:web:web3.storage'
)

export const accessServiceConnection = connect<Service>({
Expand All @@ -25,11 +25,11 @@ export const accessServiceConnection = connect<Service>({

export const uploadServiceURL = new URL(
//'https://staging.up.web3.storage'
import.meta.env.VITE_W3UP_UPLOAD_SERVICE_URL
import.meta.env.VITE_W3UP_UPLOAD_SERVICE_URL ?? 'https://up.web3.storage'
)
export const uploadServicePrincipal = DID.parse(
//'did:web:staging.web3.storage'
import.meta.env.VITE_W3UP_UPLOAD_SERVICE_DID
import.meta.env.VITE_W3UP_UPLOAD_SERVICE_DID ?? 'did:web:web3.storage'
)

export const uploadServiceConnection = connect<Service>({
Expand Down

0 comments on commit 04990c5

Please sign in to comment.