calender crud operations
This commit is contained in:
parent
e7b8257336
commit
bf701163d6
18 changed files with 703 additions and 0 deletions
|
@ -6,6 +6,7 @@ import allowSetup from "../middleware/allowSetup";
|
|||
import authenticate from "../middleware/authenticate";
|
||||
import errorHandler from "../middleware/errorHandler";
|
||||
|
||||
import publicAvailable from "./public";
|
||||
import setup from "./setup";
|
||||
import auth from "./auth";
|
||||
import admin from "./admin/index";
|
||||
|
@ -21,6 +22,7 @@ export default (app: Express) => {
|
|||
app.use(cors());
|
||||
app.options("*", cors());
|
||||
|
||||
app.use("/public", publicAvailable);
|
||||
app.use("/setup", allowSetup, setup);
|
||||
app.use("/auth", auth);
|
||||
app.use(authenticate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue