1
0
mirror of synced 2025-12-25 02:09:19 -05:00

fix embedded sample code (#59753)

This commit is contained in:
Alexandre Girard
2025-05-09 11:50:39 -07:00
committed by GitHub
parent a6a52d6429
commit 295dec4b12

View File

@@ -293,7 +293,7 @@ app.use((req, res, next) => {
});
// Read config from environment variables
const BASE_URL = process.env.BASE_URL || "https://local.airbyte.dev/api/public";
const BASE_URL = process.env.BASE_URL || "https://api.airbyte.com";
const AIRBYTE_WIDGET_URL = `${BASE_URL}/v1/embedded/widget_token`;
const AIRBYTE_ACCESS_TOKEN_URL = `${BASE_URL}/v1/applications/token`;
const AIRBYTE_CLIENT_ID = process.env.AIRBYTE_CLIENT_ID;