Apteryx
Apteryx
Explore posts from servers
CCarbon
Created by Asleep on 9/17/2024 in #📌support
TypeError when importing any command or Client
It's more related to webpack/next. Base is defined, Module isn't which is what webpack seems to be star importing carbon as. Tho I have no idea why or how to solve this, Evaluate is run on Next to so it is possible to do. What version of next.js are you using? Are you using turbopack?
23 replies
CCarbon
Created by Asleep on 9/17/2024 in #📌support
TypeError when importing any command or Client
What is the full stack trace? And what runtime and bundler are you using?
23 replies
BSBuape Studios
Created by MagicGamer ☄ on 3/14/2024 in #kiai-support
Api key request
💀
9 replies
BSBuape Studios
Created by Apteryx on 12/26/2023 in #kiai-support
Rank card background has no validation
@Shadow
const url = 'https://evaluate.run/icon.png';
const response = await fetch(`https://wsrv.nl/?url=${url}`);
if (response.status === 200) {
// image is valid
} else {
// image is not valid
}
const url = 'https://evaluate.run/icon.png';
const response = await fetch(`https://wsrv.nl/?url=${url}`);
if (response.status === 200) {
// image is valid
} else {
// image is not valid
}
wsrv.nl is a free image cache and resize/image proxy service, i used it with my Qwaroo project to validate user inputted image urls (as well as to proxy images to prevent tracking) it will return status code 200 if it is a valid image, otherwise 404
in response to https://discord.com/channels/744282929684938844/1167521129607479338/1189049235795091539
2 replies
TtRPC
Created by pjnicolas on 7/25/2023 in #❓-help
"Fast Refresh" messing with my WebSocketServer in Next.js development
why would you use socket.io if youre gonna use trpc?
6 replies
TtRPC
Created by pjnicolas on 7/25/2023 in #❓-help
"Fast Refresh" messing with my WebSocketServer in Next.js development
I use tRPC websockets with next.js as well, if you're still having issues ill be happy to share my solution, there are a few steps required to set it up tho
6 replies