-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move statics related to invitation code to invitationCode file
- Loading branch information
Showing
6 changed files
with
35 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
export const ONION_ADDRESS_REGEX = /^[a-z0-9]{56}$/g | ||
export const PEER_ID_REGEX = /^[a-zA-Z0-9]{46}$/g | ||
|
||
export enum Site { | ||
DEEP_URL_SCHEME_WITH_SEPARATOR = 'quiet://', | ||
DEEP_URL_SCHEME = 'quiet', | ||
DOMAIN = 'tryquiet.org', | ||
MAIN_PAGE = 'https://tryquiet.org/', | ||
JOIN_PAGE = 'join', | ||
PSK_PARAM_KEY = 'k', | ||
} | ||
|
||
export const QUIET_JOIN_PAGE = `${Site.MAIN_PAGE}${Site.JOIN_PAGE}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters