[FEATURE] Adjust more server controllers
This commit is contained in:
parent
62c966a6bd
commit
37e3dc2ae9
16 changed files with 281 additions and 173 deletions
|
@ -1,5 +1,5 @@
|
|||
import { Router, json as jsonMiddleware } from "express";
|
||||
import { listFiles } from "../k8s/server-files.js";
|
||||
import { listFiles } from "../controllers/file-controller.js";
|
||||
const router = Router();
|
||||
router.use(jsonMiddleware());
|
||||
router.post("/list", listFiles);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue