Skip to content

Commit

Permalink
fix: use unified endpoint for staging services
Browse files Browse the repository at this point in the history
now that we've migrated to using a single service, update the w3console configs to point at it
  • Loading branch information
travis committed Jul 18, 2023
1 parent de19d33 commit 4b867cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:staging.web3.storage
VITE_W3UP_ACCESS_SERVICE_URL: 'https://w3access-staging.protocol-labs.workers.dev'
VITE_W3UP_ACCESS_SERVICE_URL: 'https://staging.up.web3.storage'
VITE_W3UP_ACCESS_SERVICE_DID: 'did:web:staging.web3.storage'
VITE_W3UP_UPLOAD_SERVICE_URL: 'https://staging.up.web3.storage'
VITE_W3UP_UPLOAD_SERVICE_DID: 'did:web:staging.web3.storage'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/w3console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_ACCESS_SERVICE_URL: 'https://w3access-staging.protocol-labs.workers.dev'
VITE_W3UP_ACCESS_SERVICE_URL: 'https://staging.up.web3.storage'
VITE_W3UP_ACCESS_SERVICE_DID: 'did:web:staging.web3.storage'
VITE_W3UP_UPLOAD_SERVICE_URL: 'https://staging.up.web3.storage'
VITE_W3UP_UPLOAD_SERVICE_DID: 'did:web:staging.web3.storage'
Expand Down
2 changes: 1 addition & 1 deletion examples/react/w3console/src/components/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as DID from '@ipld/dag-ucan/did'


export const accessServiceURL = new URL(
//'https://w3access-staging.protocol-labs.workers.dev'
//'https://staging.up.web3.storage'
import.meta.env.VITE_W3UP_ACCESS_SERVICE_URL ?? 'https://access.web3.storage'
)
export const accessServicePrincipal = DID.parse(
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla/sign-up-in/src/staging-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CAR, CBOR, HTTP } from '@ucanto/transport'
import * as DID from '@ipld/dag-ucan/did'

export const accessServiceURL = new URL(
'https://w3access-staging.protocol-labs.workers.dev'
'https://staging.up.web3.storage'
)
export const accessServicePrincipal = DID.parse(
'did:key:z6MkwTYX2JHHd8bmaEuDdS1LJjrpFspirjDcQ4DvAiDP49Gm'
Expand Down

0 comments on commit 4b867cc

Please sign in to comment.