diff --git a/client/app/scripts/components/troubleshooting-menu.js b/client/app/scripts/components/troubleshooting-menu.js index 9da47f9ca..3babf9a7c 100644 --- a/client/app/scripts/components/troubleshooting-menu.js +++ b/client/app/scripts/components/troubleshooting-menu.js @@ -20,6 +20,9 @@ class DebugMenu extends React.Component { } render() { + const reportDownloadUrl = process.env.WEAVE_CLOUD + ? `${window.location.origin}/api${window.location.pathname}/api/report` + : 'api/report'; return (