fix(workflow): fix 405/404/403 errors on workflow switcher by updating CORS, 5201 demo permissions and server restart
This commit is contained in:
@@ -30,6 +30,9 @@ function getAuthHeaders(): HeadersInit {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
if (!headers['Authorization'] && !headers['X-User-ID']) {
|
||||
headers['X-User-ID'] = '1';
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user