p2p https and login fix, removed static domain from ejs files

This commit is contained in:
mrfry 2023-04-07 16:32:22 +02:00
parent ae3bd7c55a
commit e858d7f23e
13 changed files with 210 additions and 79 deletions

View file

@ -98,6 +98,7 @@ export interface User {
lastLogin: number
lastAccess: number
sourceHost?: number
// isAdmin: boolean // TODO
}
export interface Request<T = any> extends express.Request {
@ -174,6 +175,8 @@ export interface PeerInfo {
port: number
publicKey: string
contact: string
pw?: string
lastSync?: number
note?: string
http?: boolean
}