zahmis 4 лет назад
Родитель
Сommit
480f707328

+ 2 - 1
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -13,6 +13,8 @@ import BotTypeCard from './BotTypeCard';
 import DeleteSlackBotSettingsModal from './DeleteSlackBotSettingsModal';
 
 const botTypes = ['officialBot', 'customBotWithoutProxy', 'customBotWithProxy'];
+const officialBotProxyUri = process.env.OFFICIAL_BOT_PROXY_URL;
+
 
 const SlackIntegration = (props) => {
   const { appContainer } = props;
@@ -28,7 +30,6 @@ const SlackIntegration = (props) => {
   const [proxyServerUri, setProxyServerUri] = useState();
   const [connectionStatuses, setConnectionStatuses] = useState({});
   const [isLoading, setIsLoading] = useState(true);
-  const officialBotProxyUri = 'https://slackbot-proxy.growi.org/';
 
 
   const fetchSlackIntegrationData = useCallback(async() => {