mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
p2p https and login fix, removed static domain from ejs files
This commit is contained in:
parent
ae3bd7c55a
commit
e858d7f23e
13 changed files with 210 additions and 79 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue