fix: improve permalink handling somewhat

This commit is contained in:
Daniel Roe 2022-12-01 22:59:08 +00:00
parent 131d1af827
commit 6dfc94e2a5
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55
3 changed files with 31 additions and 2 deletions

View file

@ -12,3 +12,5 @@ export const STORAGE_KEY_FIRST_VISIT = 'elk-first-visit'
export const STORAGE_KEY_ZEN_MODE = 'elk-zenmode'
export const STORAGE_KEY_LANG = 'elk-lang'
export const STORAGE_KEY_FEATURE_FLAGS = 'elk-feature-flags'
export const HANDLED_MASTO_URLS = /^(https?:\/\/)?([\w\d-]+\.)+\w+\/(@[@\w\d-\.]+)(\/objects)?(\/\d+)?$/