diff --git a/app/components/Dataset.tsx b/app/components/Dataset.tsx index 6ddddc4a..c3e82ff5 100644 --- a/app/components/Dataset.tsx +++ b/app/components/Dataset.tsx @@ -257,11 +257,11 @@ export default class Dataset extends React.Component { if (username === workingDataset.peername) { publishButton = published ? ( { shell.openExternal(`http://localhost:3000/${workingDataset.peername}/${workingDataset.name}`) }} + onClick={() => { shell.openExternal(`${QRI_CLOUD_URL}/${workingDataset.peername}/${workingDataset.name}`) }} icon='faCloud' label='View in Cloud' items={[ - { shell.openExternal(`http://localhost:3000/${workingDataset.peername}/${workingDataset.name}`); e.stopPropagation() }}>Copy Link, + { shell.openExternal(`${QRI_CLOUD_URL}/${workingDataset.peername}/${workingDataset.name}`); e.stopPropagation() }}>Copy Link, Unpublish ]} /> diff --git a/app/utils/registry.ts b/app/utils/registry.ts index 1a9314f3..5e1c950d 100644 --- a/app/utils/registry.ts +++ b/app/utils/registry.ts @@ -1,2 +1,2 @@ -export const QRI_CLOUD_URL = 'http://localhost:3000' +export const QRI_CLOUD_URL = 'https://qri.cloud'