fix: Gitlab & Github urls

This commit is contained in:
Andras Bacsai
2022-04-04 11:27:23 +02:00
parent 8cb679711d
commit 38f0546f05
4 changed files with 10 additions and 6 deletions

View File

@@ -128,7 +128,7 @@
await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave });
await post(`/applications/${id}.json`, { ...application });
return window.location.reload();
} catch (error) {
} catch ({ error }) {
if (error?.startsWith('DNS not set')) {
forceSave = true;
}