feat(gitea): add gitea integration

This commit is contained in:
Rıdvan Akca
2024-04-28 14:42:25 +02:00
committed by Jakub P.
parent d580754579
commit 5a433ad119
13 changed files with 240 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
const addAuthHeader = ($, requestConfig) => {
if ($.auth.data?.accessToken) {
requestConfig.headers.Authorization = `${$.auth.data.tokenType} ${$.auth.data.accessToken}`;
}
return requestConfig;
};
export default addAuthHeader;