mirror of
https://github.com/yude-jp/yude.jp
synced 2026-11-13 05:22:34 +09:00
Remove /api/PlayerName
This commit is contained in:
4 files changed
+2
-26
No files matched your search
@@ -16,7 +16,7 @@ export default function UUID() {
|
||||
const router = useRouter()
|
||||
const { uuid } = router.query
|
||||
const { data, error } = useSwr(
|
||||
uuid ? `/api/PlayerName/${uuid}` : null,
|
||||
uuid ? `https://api.ashcon.app/mojang/v2/user/${uuid}` : null,
|
||||
fetcher
|
||||
)
|
||||
if (error) {
|
||||
|
||||
Reference in new issue
Block a user