Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use production service configuration by default in w3console #425

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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