mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 23:24:30 -04:00
add uri salt and fix api url namespaces
This commit is contained in:
parent
fba3995d86
commit
4d0bbfccfc
6 changed files with 55 additions and 22 deletions
|
@ -72,6 +72,10 @@ class ABID(NamedTuple):
|
|||
subtype=suffix[18:20].upper(),
|
||||
rand=suffix[20:26].upper(),
|
||||
)
|
||||
|
||||
@property
|
||||
def uri_salt(self) -> str:
|
||||
return DEFAULT_ABID_URI_SALT
|
||||
|
||||
@property
|
||||
def suffix(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue