浏览代码

update

master
Gitea 2 个月前
父节点
当前提交
64640300dd
共有 2 个文件被更改,包括 8 次插入2 次删除
  1. +1
    -1
      app/generative-energy/GECalculator.tsx
  2. +7
    -1
      main.ts

+ 1
- 1
app/generative-energy/GECalculator.tsx 查看文件

@@ -169,7 +169,7 @@ export default defineComponent({
<p>
<ul>
<li>
November 2024: Migrated to new web framework and fixed some buggy input.
1st November 2024: Migrated to new web framework and fixed some buggy input.
</li>
<li>
13th March 2024: Removed the synthetic/pure distinction as it was confusing and


+ 7
- 1
main.ts 查看文件

@@ -69,7 +69,13 @@ function getAPIResponse(apiReq: Request): Response {
slug: "hypothyroidism",
},
] satisfies DJAPIResultMap["/rp-articles"];
}
}

if (!jsonResponse) {
jsonResponse = { error: `API route ${ apiPath } not found.` };
status = 404;
}

}

const headers = new Headers();


正在加载...
取消
保存