import { apiRoute, applyConfig } from "@/api"; import { xmlResponse } from "@/response"; import { config } from "~/packages/config-manager"; export const meta = applyConfig({ allowedMethods: ["GET"], auth: { required: false, }, ratelimits: { duration: 60, max: 60, }, route: "/.well-known/host-meta", }); export default apiRoute((app) => app.on(meta.allowedMethods, meta.route, () => { return xmlResponse( ``, ); }), );