feat: add email change routes (BUG-090)
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Failing after 9m41s
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Failing after 9m41s
This commit is contained in:
parent
8b31d11e74
commit
480c794a85
3 changed files with 326 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import { templatesRouter } from "./routes/templates.js";
|
|||
import { healthRouter } from "./routes/health.js";
|
||||
import { demoRouter } from "./routes/demo.js";
|
||||
import { recoverRouter } from "./routes/recover.js";
|
||||
import { emailChangeRouter } from "./routes/email-change.js";
|
||||
import { billingRouter } from "./routes/billing.js";
|
||||
import { authMiddleware } from "./middleware/auth.js";
|
||||
import { usageMiddleware, loadUsageData } from "./middleware/usage.js";
|
||||
|
|
@ -130,6 +131,7 @@ app.use("/v1/signup", (_req, res) => {
|
|||
});
|
||||
});
|
||||
app.use("/v1/recover", recoverRouter);
|
||||
app.use("/v1/email-change", emailChangeRouter);
|
||||
app.use("/v1/billing", billingRouter);
|
||||
|
||||
// Authenticated routes — conversion routes get tighter body limits (500KB)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue