forked from Adleraci/adlerka.top
Test meme rendering
This commit is contained in:
@@ -7,6 +7,7 @@ function endpoint($endpoint_data): array
|
||||
|
||||
return match ($endpoint_data["action"]) {
|
||||
"addMeme" => addMeme($endpoint_data['memetext'], $endpoint_data['imageid']),
|
||||
"renderGallery" => renderMemeGallery(),
|
||||
default => ["Status" => "Fail", "message" => "Invalid action"],
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user