v3: search engine, responsive header with compact user menu
This commit is contained in:
@@ -22,10 +22,11 @@ export const WS_URL: string = API_URL
|
||||
? API_URL.replace(/^http/, "ws")
|
||||
: `${location.protocol.replace("http", "ws")}//${location.host}`;
|
||||
|
||||
export const SEARCH_URL = `${API_URL}/api/search`;
|
||||
export const DEFAULT_PAGE_SIZE = 20;
|
||||
export const NOTIFICATIONS_PAGE_SIZE = 30;
|
||||
|
||||
// Validation constants (mirrors api/model/interfaces.ts VALIDATION)
|
||||
// Validation constants (mirrors api/config.ts VALIDATION)
|
||||
export const VALIDATION = {
|
||||
USERNAME_MIN: 1,
|
||||
USERNAME_MAX: 32,
|
||||
|
||||
Reference in New Issue
Block a user