❗️databaseUrl 설정해주기
싱가폴로 바꿔서 설정해주니 오류 해결. 사실 docs만 잘 읽어봐도 마주칠 일 없는 오류였는데 ...😅
Choose a location for the database.
Depending on the location of the database, the URL for the new database will be in one of the following forms:
DATABASE_NAME.firebaseio.com (for databases in us-central1)
https://firebase.google.com/docs/projects/locations#rtdb-locations
const firebaseConfig = {
/* ... */
databaseURL: 'https://shoppy-9ad99-default-rtdb.asia-southeast1.firebasedatabase.app'
};
'Recap > 에러 해결 기록' 카테고리의 다른 글
| [React] vite에서 CORS 에러 해결하기 (2) | 2024.01.25 |
|---|---|
| [JavaScript] 바닐라 자바스크립트로 SPA 만들 때 라우팅이 제대로 되지 않는 문제 (2) | 2024.01.10 |
| [JavaScript] map() 했을 때 콤마가 함께 렌더링 된다면 (0) | 2024.01.10 |
| Uncaught TypeError: client.defaultQueryOptions is not a function (2) | 2023.11.06 |
| solved problem 01. Color Literal (0) | 2022.06.19 |