feat: remove OTP gate from transactions, fix categories auth, add implementation plan
- Remove OtpGateGuard from transactions controller (OTP verified at login) - Fix categories controller to use authenticated user instead of TEMP_USER_ID - Add comprehensive implementation plan document - Update .env.example with WEB_APP_URL - Prepare for admin dashboard development
This commit is contained in:
6
apps/api/dist/main.js
vendored
6
apps/api/dist/main.js
vendored
@@ -2,8 +2,10 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const core_1 = require("@nestjs/core");
|
||||
const app_module_1 = require("./app.module");
|
||||
const path_1 = require("path");
|
||||
async function bootstrap() {
|
||||
const app = await core_1.NestFactory.create(app_module_1.AppModule);
|
||||
app.useStaticAssets((0, path_1.join)(__dirname, '..', 'public'));
|
||||
const webOrigin = process.env.WEB_APP_URL ?? 'http://localhost:5173';
|
||||
app.enableCors({
|
||||
origin: webOrigin,
|
||||
@@ -12,7 +14,7 @@ async function bootstrap() {
|
||||
app.setGlobalPrefix('api');
|
||||
const port = process.env.PORT ? Number(process.env.PORT) : 3000;
|
||||
await app.listen(port);
|
||||
console.log(`API listening on http://localhost:${port}`);
|
||||
console.log(`API listening on ${await app.getUrl()}`);
|
||||
}
|
||||
bootstrap();
|
||||
void bootstrap();
|
||||
//# sourceMappingURL=main.js.map
|
||||
Reference in New Issue
Block a user