mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-09-07 02:45:09 -05:00
Add x-appcolorscheme header for web service requests
This commit is contained in:
@@ -104,6 +104,7 @@ export default class NooklinkApi {
|
||||
headers: {
|
||||
'Upgrade-Insecure-Requests': '1',
|
||||
'User-Agent': NOOKLINK_WEBSERVICE_USERAGENT,
|
||||
'x-appcolorscheme': 'DARK',
|
||||
'x-gamewebtoken': webserviceToken.accessToken,
|
||||
'dnt': '1',
|
||||
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
|
||||
|
||||
@@ -238,6 +238,7 @@ ${colour}
|
||||
headers: {
|
||||
'Upgrade-Insecure-Requests': '1',
|
||||
'User-Agent': SPLATNET2_WEBSERVICE_USERAGENT,
|
||||
'x-appcolorscheme': 'DARK',
|
||||
'x-gamewebtoken': webserviceToken.accessToken,
|
||||
'dnt': '1',
|
||||
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
|
||||
|
||||
Reference in New Issue
Block a user