mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-05 21:28:08 +03:00
add server share option to context menu
This commit is contained in:
@@ -12,6 +12,10 @@ export class AMServer extends Realm.Object<AMServer> implements AMServerInfoResp
|
||||
|
||||
lastUsed: Date;
|
||||
createdAt: Date;
|
||||
|
||||
get shareUrl() {
|
||||
return `http://card.ppc.moe/#/servers/add?address=${encodeURIComponent(this.serverAddress)}`;
|
||||
}
|
||||
|
||||
static generate(serverAddress: string) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user