add mastodon/foolslide/foolfuuka examples to example config

This commit is contained in:
Mike Fährmann
2019-02-05 16:17:25 +01:00
parent 050bc1aa4a
commit 53c2fd4664
3 changed files with 30 additions and 3 deletions

View File

@@ -208,6 +208,9 @@ def get_domain(classes):
if url.startswith("http"):
return url
if hasattr(cls, "root") and cls.root:
return cls.root + "/"
if hasattr(cls, "test") and cls.test:
url = cls.test[0][0]
return url[:url.find("/", 8)+1]