mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-18 23:45:26 +02:00
Merge branch 'improve-auth-context-provider'
# Conflicts: # src/constants/values.ts
This commit is contained in:
commit
879693f680
@ -1,13 +1,13 @@
|
||||
import {AliasNote} from "~/server-types"
|
||||
|
||||
export const MASTER_PASSWORD_LENGTH = 4096
|
||||
export const MASTER_PASSWORD_LENGTH = 1024
|
||||
export const LOCAL_REGEX = /^[a-zA-Z0-9!#$%&‘*+–/=?^_`.{|}~-]{1,64}$/g
|
||||
export const URL_REGEX =
|
||||
/((http[s]*:\/\/)?[a-z0-9-%\/\&=?\.]+\.[a-z]{2,4}\/?([^\s<>\#%"\,\{\}\\|\\\^\[\]`]+)?)/gi
|
||||
export const DEFAULT_ALIAS_NOTE: AliasNote = {
|
||||
version: "1.0",
|
||||
data: {
|
||||
createdOn: null,
|
||||
createdOn: "instance",
|
||||
createdAt: null,
|
||||
creationContext: "web",
|
||||
personalNotes: "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user