mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-16 14:52:13 +11:00
fix
This commit is contained in:
parent
88a0482e9a
commit
0adca45bcf
2 changed files with 1 additions and 3 deletions
4
index.js
4
index.js
|
|
@ -92,7 +92,7 @@ fastify.get("/", async function (req, res) {
|
|||
if (process.env.SETUP == false || !process.env.SETUP) {
|
||||
res.view("setup");
|
||||
} else {
|
||||
let checkalive = await got(`${api}../properties`, {
|
||||
let checkalive = await got(`${api}/../properties`, {
|
||||
headers: {
|
||||
Accept: "application/json",
|
||||
},
|
||||
|
|
@ -133,7 +133,6 @@ fastify.get(
|
|||
const user = req.session.get("user");
|
||||
const password = req.session.get("password");
|
||||
const auth = req.session.get("b64");
|
||||
//balance = await client.balance(req.session.get("user"));
|
||||
balance = await got(`${api}/user/balance`, {
|
||||
headers: {
|
||||
Authorization: auth,
|
||||
|
|
@ -147,7 +146,6 @@ fastify.get(
|
|||
console.log(balance);
|
||||
console.log("start " + Date.now());
|
||||
|
||||
//let logsent = await client.log(user, password);
|
||||
let logsent = await got(`${api}/user/log`, {
|
||||
headers: {
|
||||
Authorization: auth,
|
||||
|
|
|
|||
BIN
public/CCashLogodiscord.png
Normal file
BIN
public/CCashLogodiscord.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 KiB |
Loading…
Reference in a new issue