Debug login issues in lovable app
Investigate and address potential causes of login failures in the lovable app, including API request format discrepancies, cached token issues, and network problems.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
// 온프레미스 Supabase URL과 anon key 설정
|
||||
export const getSupabaseUrl = () => {
|
||||
// 로컬 스토리지에서 설정된 URL을 우선 사용
|
||||
@@ -50,7 +51,7 @@ export const getSupabaseUrl = () => {
|
||||
}
|
||||
|
||||
// 기본값 사용 (환경 변수 대신)
|
||||
return 'http://a11.ism.kr';
|
||||
return 'https://a11.ism.kr';
|
||||
};
|
||||
|
||||
export const getSupabaseKey = () => {
|
||||
@@ -111,5 +112,5 @@ export const configureSupabase = (url: string, key: string, useProxy: boolean =
|
||||
// 원본 URL 반환 (프록시 없는 URL)
|
||||
export const getOriginalSupabaseUrl = () => {
|
||||
const storedUrl = localStorage.getItem('supabase_url');
|
||||
return storedUrl || process.env.SUPABASE_URL || 'http://a11.ism.kr:8000';
|
||||
return storedUrl || 'https://a11.ism.kr';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user