commit 9abc693d22934ae2e9b3fb68650b7c9c68a8f788
parent c4cf6326d872f5b2ac93304b35e223695f703bb6
Author: User _GTS <_GTS@124bc827-akkohome.y.umbrellix.com>
Date: Tue, 11 Jul 2023 17:31:19 +0000
I think i got put on keter duty.
Diffstat:
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -16,6 +16,9 @@ site/
# exclude compiled binaries
dist/
+#excluhe config
+/config.yaml
+
# exclude the copy of swagger.yaml moved into assets during packaging
web/assets/swagger.yaml
diff --git a/internal/config/validate.go b/internal/config/validate.go
@@ -43,7 +43,8 @@ func Validate() error {
SetAccountDomain(GetHost())
default:
if !dns.IsSubDomain(ad, host) {
- errs = append(errs, fmt.Errorf("%s was %s and %s was %s, but %s is not a valid subdomain of %s", HostFlag(), host, AccountDomainFlag(), ad, host, ad))
+ //errs = append(errs, fmt.Errorf("%s was %s and %s was %s, but %s is not a valid subdomain of %s", HostFlag(), host, AccountDomainFlag(), ad, host, ad))
+ log.Warnf(nil, "%s was %s and %s was %s, but %s is not a valid subdomain of %s - apparently this is supposed to be bad, but +Umbrellix permits it.", HostFlag(), host, AccountDomainFlag(), ad, host, ad)
}
}
}
diff --git a/web/template/footer.tmpl b/web/template/footer.tmpl
@@ -24,6 +24,9 @@
<a name="Source code" href="https://github.com/superseriousbusiness/gotosocial">
GoToSocial <span class="accent">{{.instance.Version}}</span>
</a>
+ <a name="With Umbrellix patches" href="https://git.umbrellix.net/u/bjornsroot/gtsocial-umbx/log.html">
+ Umbrellix patches available for git clone at https://git.umbrellix.net/u/bjornsroot/gtsocial-umbx.git .
+ </a>
</div>
{{ if .instance.ContactAccount }}
<div id="contact">
@@ -43,4 +46,4 @@
{{ end }}
{{ end }}
</body>
-</html>
-\ No newline at end of file
+</html>