We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae39c5 commit 07de8e0Copy full SHA for 07de8e0
client/src/lib/helpers.js
@@ -142,7 +142,8 @@ export async function setCurrentServerQueryTimeout(timeout) {
142
export function setCurrentServerSlashApiKey(slashApiKey) {
143
if (slashApiKey) {
144
clientStubOptions.headers['X-Auth-Token'] = slashApiKey
145
- clientStubOptions.headers['Authorization'] = 'Bearer ' + slashApiKey
+ // Note: Authorization header removed due to CORS policy restrictions on Dgraph Cloud
146
+ // clientStubOptions.headers['Authorization'] = 'Bearer ' + slashApiKey
147
}
148
149
0 commit comments