feat: route all external image urls through new server-side proxy with host allowlist

This commit is contained in:
2025-12-04 19:44:39 +00:00
parent 88673f6ea9
commit 17f001975f
3 changed files with 44 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
* @keywords api, client, devrant, http, fetch
*/
const API_BASE_URL = window.location.hostname === 'localhost' ? '/api/' : 'https://dr.molodetz.nl/api/';
const API_BASE_URL = '/api/';
const APP_ID = 3;
class ApiClient {