| 1 | // script.js |
| 2 | const defaultApiKey = '1dc4cbf81f0accf4fa108820d551dafc'; // کلید پیشفرض TMDb |
| 3 | const userTmdbToken = localStorage.getItem('userTmdbToken'); // توکن کاربر |
| 4 | const apiKey = userTmdbToken || defaultApiKey; // اولویت با توکن کاربر |
nothing calls this directly
no test coverage detected