-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from btkcodedev/staging
v1.0.14: Staging
- Loading branch information
Showing
8 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
AIRBYTE_SUPABASE_PROXY_URL = "https://xxxxxx/functions/v1/xxxxx/airbyte"; | ||
AIRBYTE_LOCAL_PROXY_URL = "/api/airbyte"; | ||
AIRBYTE_API_BASE_URL = "https://api.airbyte.com/v1"; | ||
GROQ_SUPABASE_PROXY_URL = "https://xxxxxxx/functions/v1/xxxxx/groq"; | ||
GROQ_LOCAL_PROXY_URL = "/api/groq"; | ||
GROQ_API_BASE_URL = "https://api.groq.com/v1"; | ||
VITE_AIRBYTE_SUPABASE_PROXY_URL = "https://xxxxxx.supabase/functions/v1/xxxxx/airbyte" | ||
VITE_GROQ_SUPABASE_PROXY_URL = "https://xxxxxxx.supabase/functions/v1/xxxxx/groq" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
export const AIRBYTE_SUPABASE_PROXY_URL = "https://lejxudxaxuqfkhtgddoe.supabase.co/functions/v1/apiProxy/airbyte"; | ||
export const AIRBYTE_LOCAL_PROXY_URL = "/api/airbyte"; | ||
export const AIRBYTE_API_BASE_URL = "https://api.airbyte.com/v1"; | ||
export const GROQ_SUPABASE_PROXY_URL = "https://lejxudxaxuqfkhtgddoe.supabase.co/functions/v1/apiProxy/groq"; | ||
export const GROQ_LOCAL_PROXY_URL = "/api/groq"; | ||
export const GROQ_API_BASE_URL = "https://api.groq.com/v1"; | ||
|
||
export const getAirbyteApiUrl = () => { | ||
if (import.meta.env.DEV) { | ||
return AIRBYTE_LOCAL_PROXY_URL; | ||
} | ||
return AIRBYTE_SUPABASE_PROXY_URL; | ||
return import.meta.env.VITE_AIRBYTE_SUPABASE_PROXY_URL; | ||
}; | ||
|
||
export const getGroqApiUrl = () => { | ||
if (import.meta.env.DEV) { | ||
return GROQ_LOCAL_PROXY_URL; | ||
} | ||
return GROQ_SUPABASE_PROXY_URL; | ||
return import.meta.env.VITE_GROQ_SUPABASE_PROXY_URL; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters