mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-09 19:48:37 +01:00
"listen to frontend"
This commit is contained in:
parent
2b6d2b02e7
commit
f907cbe1bf
@ -98,7 +98,7 @@ function renderActions() {
|
||||
renderActions();
|
||||
});
|
||||
}
|
||||
addAction("Listen to premium login in VIAaaS instance", () => {
|
||||
addAction("Listen to frontend premium login in VIAaaS instance", () => {
|
||||
let user = prompt("Premium username (case-sensitive): ", "");
|
||||
if (!user) return;
|
||||
let callbackUrl = new URL(location);
|
||||
@ -107,7 +107,7 @@ function renderActions() {
|
||||
location = "https://api.minecraft.id/gateway/start/" + encodeURIComponent(user)
|
||||
+ "?callback=" + encodeURIComponent(callbackUrl);
|
||||
});
|
||||
addAction("Listen to offline login in VIAaaS instance", () => {
|
||||
addAction("Listen to frontend offline login in VIAaaS instance", () => {
|
||||
let user = prompt("Offline username (case-sensitive):", "");
|
||||
if (!user) return;
|
||||
let taskId = Math.random();
|
||||
|
Loading…
Reference in New Issue
Block a user