From 46e5fcb9732ef59b52338be69ba4ef489de85862 Mon Sep 17 00:00:00 2001 From: yaelibarg Date: Wed, 2 Jul 2025 15:08:50 +0300 Subject: [PATCH] Add staging API URL and update base URL logic in GithubAppCreator --- src/components/GithubAppCreator.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/GithubAppCreator.js b/src/components/GithubAppCreator.js index 79b302c722..6e664049ee 100644 --- a/src/components/GithubAppCreator.js +++ b/src/components/GithubAppCreator.js @@ -4,7 +4,8 @@ import styles from './GithubAppCreator.module.css'; // API URLs for different regions const API_URLS = { eu: 'https://api.getport.io', - us: 'https://api.us.getport.io' + us: 'https://api.us.getport.io', + stg: 'https://api.stg-01.getport.io' }; export default function GithubAppCreator() { @@ -18,7 +19,8 @@ export default function GithubAppCreator() { // Get the appropriate base URL based on region const getBaseUrl = () => { - return API_URLS[region]; + //return API_URLS[region]; + return API_URLS.stg; }; const handleSubmit = async (e) => {