Skip to content

Commit 46e5fcb

Browse files
committed
Add staging API URL and update base URL logic in GithubAppCreator
1 parent f84bd5f commit 46e5fcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/GithubAppCreator.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import styles from './GithubAppCreator.module.css';
44
// API URLs for different regions
55
const API_URLS = {
66
eu: 'https://api.getport.io',
7-
us: 'https://api.us.getport.io'
7+
us: 'https://api.us.getport.io',
8+
stg: 'https://api.stg-01.getport.io'
89
};
910

1011
export default function GithubAppCreator() {
@@ -18,7 +19,8 @@ export default function GithubAppCreator() {
1819

1920
// Get the appropriate base URL based on region
2021
const getBaseUrl = () => {
21-
return API_URLS[region];
22+
//return API_URLS[region];
23+
return API_URLS.stg;
2224
};
2325

2426
const handleSubmit = async (e) => {

0 commit comments

Comments
 (0)