Import CAD projects and cad-router v1

This commit is contained in:
Jerry
2026-07-22 19:38:36 +08:00
parent e4e0199bd5
commit af9f630c11
2253 changed files with 1994207 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import { handleHostedCadApi } from "../../src/server/vercelApi.mjs";
export default async function handler(req, res) {
await handleHostedCadApi(req, res, { cadPath: "/__cad/catalog" });
}
+6
View File
@@ -0,0 +1,6 @@
import { handleHostedCadApi } from "../../src/server/vercelApi.mjs";
export default async function handler(req, res) {
await handleHostedCadApi(req, res, { cadPath: "/__cad/download" });
}
+6
View File
@@ -0,0 +1,6 @@
import { handleHostedCadApi } from "../../src/server/vercelApi.mjs";
export default async function handler(req, res) {
await handleHostedCadApi(req, res, { cadPath: "/__cad/reveal" });
}
+6
View File
@@ -0,0 +1,6 @@
import { handleHostedCadApi } from "../../src/server/vercelApi.mjs";
export default async function handler(req, res) {
await handleHostedCadApi(req, res, { cadPath: "/__cad/server" });
}