Upload folder via GUI - src
This commit is contained in:
@@ -26,7 +26,7 @@ function normalizeAndValidateBaseUrl(rawUrl) {
|
||||
try {
|
||||
parsed = new URL(value);
|
||||
} catch (_) {
|
||||
throw new Error('Ungueltige Gitea URL. Beispiel fuer IPv6: http://[2001:db8::1]:3000');
|
||||
throw new Error('Ungültige Gitea-URL. Beispiel für IPv6: http://[2001:db8::1]:3000');
|
||||
}
|
||||
|
||||
if (parsed.protocol !== 'http:' && parsed.protocol !== 'https:') {
|
||||
@@ -1293,7 +1293,7 @@ async function updateGiteaRepoTopics({ token, url, owner, repo, topics }) {
|
||||
);
|
||||
return res.data;
|
||||
} catch (err) {
|
||||
// Fallback fuer aeltere/abweichende Gitea-Versionen
|
||||
// Fallback für ältere/abweichende Gitea-Versionen
|
||||
const res = await axiosInstance.patch(
|
||||
`${base}/api/v1/repos/${repoPath}`,
|
||||
{ topics: safeTopics },
|
||||
|
||||
Reference in New Issue
Block a user