Account deletion logic
All checks were successful
Deploy to Server / deploy (push) Successful in 37s
All checks were successful
Deploy to Server / deploy (push) Successful in 37s
This commit is contained in:
@@ -7,6 +7,7 @@ import { authRateLimiter, apiRateLimiter } from './auth/rateLimiter.js';
|
||||
import chemicalsRouter from './routes/chemicals.js';
|
||||
import protocolsRouter from './routes/protocols.js';
|
||||
import profileRouter from './routes/profile.js';
|
||||
import accountRouter from './routes/account.js';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
@@ -93,6 +94,7 @@ app.use('/api', apiRateLimiter);
|
||||
app.use('/api/chemicals', chemicalsRouter);
|
||||
app.use('/api/protocols', protocolsRouter);
|
||||
app.use('/api/profile', profileRouter);
|
||||
app.use('/api/account', accountRouter);
|
||||
|
||||
app.get('/api/health', (_req, res) => res.json({ ok: true }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user