chore: cleanup old endpoint
This commit is contained in:
@@ -63,10 +63,6 @@ export function card(app: App) {
|
||||
.derive(() => ({
|
||||
log: createLogger(),
|
||||
}))
|
||||
// FE still uses this endpoint for some reason(aka lazy to change)
|
||||
.head("/genshin/:uid/:char/preload", async ({ params: { uid } }) =>
|
||||
redirect(`/genshin/${uid}/preload`),
|
||||
)
|
||||
.head(
|
||||
"/genshin/:uid/preload",
|
||||
async ({ params: { uid }, log }) => {
|
||||
@@ -95,7 +91,6 @@ export function card(app: App) {
|
||||
{
|
||||
params: t.Object({
|
||||
uid: t.String(),
|
||||
char: t.Number(),
|
||||
}),
|
||||
detail: {
|
||||
tags: ["Card"],
|
||||
|
||||
Reference in New Issue
Block a user