This commit is contained in:
2025-01-13 05:14:00 +03:00
parent 55ba06295e
commit 67209dbb1c

View File

@@ -100,6 +100,7 @@ function CommonPage() {
}
if (accessToken) {
config.headers.set('Authorization', `Bearer ${accessToken}`, true);
config.headers.set('CrptAvailable', 'true', true);
}
config.validateStatus = (status) => {
if (status == 401) {