More work towards support moving/deleting instance
This commit is contained in:
parent
b03daf1274
commit
5f20eab3f1
7 changed files with 126 additions and 1 deletions
|
@ -9,6 +9,7 @@ from loguru import logger
|
|||
from markdown import markdown
|
||||
|
||||
from app import config
|
||||
from app.config import ALSO_KNOWN_AS
|
||||
from app.config import AP_CONTENT_TYPE # noqa: F401
|
||||
from app.httpsig import auth
|
||||
from app.key import get_pubkey_as_pem
|
||||
|
@ -126,6 +127,9 @@ ME = {
|
|||
"tag": _LOCAL_ACTOR_TAGS,
|
||||
}
|
||||
|
||||
if ALSO_KNOWN_AS:
|
||||
ME["alsoKnownAs"] = [ALSO_KNOWN_AS]
|
||||
|
||||
|
||||
class NotAnObjectError(Exception):
|
||||
def __init__(self, url: str, resp: httpx.Response | None = None) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue