From 8326e63ef0b29c6d01b9773ebdae8cf7cbc210f7 Mon Sep 17 00:00:00 2001
From: HF
Date: Mon, 5 Sep 2022 01:44:37 +0200
Subject: [PATCH] fix fetch links
---
src/components/Admintools.jsx | 8 ++++----
src/components/LogInArea.jsx | 10 +++++-----
src/components/ModCanvastools.jsx | 12 ++++++------
src/components/ModIIDtools.jsx | 2 +-
src/components/ModWatchtools.jsx | 2 +-
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/components/Admintools.jsx b/src/components/Admintools.jsx
index f3cd530..ef1a877 100644
--- a/src/components/Admintools.jsx
+++ b/src/components/Admintools.jsx
@@ -13,7 +13,7 @@ async function submitIPAction(
const data = new FormData();
data.append('ipaction', action);
data.append('ip', vallist);
- const resp = await fetch('./api/modtools', {
+ const resp = await fetch('/api/modtools', {
credentials: 'include',
method: 'POST',
body: data,
@@ -26,7 +26,7 @@ async function getModList(
) {
const data = new FormData();
data.append('modlist', true);
- const resp = await fetch('./api/modtools', {
+ const resp = await fetch('/api/modtools', {
credentials: 'include',
method: 'POST',
body: data,
@@ -44,7 +44,7 @@ async function submitRemMod(
) {
const data = new FormData();
data.append('remmod', userId);
- const resp = await fetch('./api/modtools', {
+ const resp = await fetch('/api/modtools', {
credentials: 'include',
method: 'POST',
body: data,
@@ -58,7 +58,7 @@ async function submitMakeMod(
) {
const data = new FormData();
data.append('makemod', userName);
- const resp = await fetch('./api/modtools', {
+ const resp = await fetch('/api/modtools', {
credentials: 'include',
method: 'POST',
body: data,
diff --git a/src/components/LogInArea.jsx b/src/components/LogInArea.jsx
index df79fe7..2af0c19 100644
--- a/src/components/LogInArea.jsx
+++ b/src/components/LogInArea.jsx
@@ -27,7 +27,7 @@ const LogInArea = () => {
>
{t`I forgot my Password.`}
{t`or login with:`}
-
+
{
alt="Discord"
/>
-
+
{
alt="Google"
/>
-
+
{
alt="Facebook"
/>
-
+
{
alt="VK"
/>
-
+
![]()