chore: cleanup old endpoint
This commit is contained in:
@@ -63,10 +63,6 @@ export function card(app: App) {
|
|||||||
.derive(() => ({
|
.derive(() => ({
|
||||||
log: createLogger(),
|
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(
|
.head(
|
||||||
"/genshin/:uid/preload",
|
"/genshin/:uid/preload",
|
||||||
async ({ params: { uid }, log }) => {
|
async ({ params: { uid }, log }) => {
|
||||||
@@ -95,7 +91,6 @@ export function card(app: App) {
|
|||||||
{
|
{
|
||||||
params: t.Object({
|
params: t.Object({
|
||||||
uid: t.String(),
|
uid: t.String(),
|
||||||
char: t.Number(),
|
|
||||||
}),
|
}),
|
||||||
detail: {
|
detail: {
|
||||||
tags: ["Card"],
|
tags: ["Card"],
|
||||||
|
|||||||
Reference in New Issue
Block a user