feat: route all external image urls through new server-side proxy with host allowlist
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user