From 8ef9b3a89f32d05a6f4766c3c73fdda5906a4527 Mon Sep 17 00:00:00 2001 From: monolithic827 <257007037+monolithic827@users.noreply.github.com> Date: Mon, 2 Feb 2026 01:08:35 +0200 Subject: [PATCH] Fix attribution header for OpenAI translation (#1623) * Fix attribution header when using the OpenAI bio translation API * Add an app name for attribution * Add back the original referer header --- src/stores/settings/advanced.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stores/settings/advanced.js b/src/stores/settings/advanced.js index 5a0f95f0..e74c71a4 100644 --- a/src/stores/settings/advanced.js +++ b/src/stores/settings/advanced.js @@ -681,7 +681,9 @@ export const useAdvancedSettingsStore = defineStore('AdvancedSettings', () => { const headers = { 'Content-Type': 'application/json', - Referer: 'https://vrcx.app' + Referer: 'https://vrcx.app', + 'HTTP-Referer': 'https://vrcx.app', + 'X-Title': 'VRCX' }; const keyToUse = overrides?.key ?? translationApiKey.value; if (keyToUse) {