Init
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kai Vogelgesang 2023-02-14 23:15:03 +01:00
parent 06e208a84a
commit cada41af2a
Signed by: kai
GPG Key ID: 3FC8578CC818A9EB
3 changed files with 16650 additions and 48 deletions

View File

@ -14,7 +14,7 @@ steps:
ssh_key:
from_secret: rsync_key
source: build/
destination: pelipper@oreburgh.leafbla.de:/srv/docker/party/nginx/html/${DRONE_REPO_NAME}/
destination: pelipper@oreburgh.leafbla.de:/srv/docker/party/nginx/html/sugar/
trigger:
branch:

16694
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
import { APIEndPoint, PartyStatus, SelfStatus, UpdatableSelfStatus } from "./PartyContext";
export const parseURI = (uri: string): APIEndPoint | undefined => {
const x = uri.match(/https?:\/\/(?<partyName>.+)\.party\.leafbla\.de\/(?<token>.+)/);
const x = uri.match(/https?:\/\/(?<partyName>\w+)\.(?<host>.+)\/(?<token>.+)/);
if (x === null || x.groups === undefined) return;
const partyName = x.groups["partyName"];
const token = x.groups["token"];