mirror of
https://github.com/yude-jp/yude.jp
synced 2026-10-24 00:05:11 +09:00
Remove /api/PlayerName
This commit is contained in:
4 files changed
+2
-26
No files matched your search
@@ -9,7 +9,7 @@ const fetcher = (url) => fetch(url).then((res) => res.json())
|
||||
function App (props) {
|
||||
const uuid = props;
|
||||
const { data, error } = useSwr(
|
||||
uuid.uuid ? `/api/PlayerName/${uuid.uuid}` : null,
|
||||
uuid.uuid ? `https://api.ashcon.app/mojang/v2/user/${uuid.uuid}` : null,
|
||||
fetcher
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user