Showing
3 changed files
with
1 additions
and
5 deletions
| @@ -24,5 +24,5 @@ CLIENT_SECRET=3d0f23390356bbd818b037863376bad3c7b80da765bb20d9db80d1275f2afd88 | @@ -24,5 +24,5 @@ CLIENT_SECRET=3d0f23390356bbd818b037863376bad3c7b80da765bb20d9db80d1275f2afd88 | ||
| 24 | PRIVATE_SECRET=6aa003735b66842cd5ad4ac9fa3e069d12e0665a7518e313306f2b7d24ad2f92 | 24 | PRIVATE_SECRET=6aa003735b66842cd5ad4ac9fa3e069d12e0665a7518e313306f2b7d24ad2f92 |
| 25 | RATE_LIMIT_INTERVAL=60000 | 25 | RATE_LIMIT_INTERVAL=60000 |
| 26 | RATE_LIMIT_REQUEST=10 | 26 | RATE_LIMIT_REQUEST=10 |
| 27 | -API_PORT=3000 | 27 | +API_PORT=4600 |
| 28 | ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001 | 28 | ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001 |
| @@ -5,14 +5,12 @@ import { UsersModule } from '../users/users.module'; | @@ -5,14 +5,12 @@ import { UsersModule } from '../users/users.module'; | ||
| 5 | import { PrismaService } from 'libs/private-api/config/prisma.service'; | 5 | import { PrismaService } from 'libs/private-api/config/prisma.service'; |
| 6 | import { AuthModule } from '../auth/auth.module'; | 6 | import { AuthModule } from '../auth/auth.module'; |
| 7 | import { DescryptMiddleware } from './middlewares/decrypt.middleware'; | 7 | import { DescryptMiddleware } from './middlewares/decrypt.middleware'; |
| 8 | -import { PublicModule } from '@app/public'; | ||
| 9 | import { PrivateModule } from '@app/private'; | 8 | import { PrivateModule } from '@app/private'; |
| 10 | import { ConfigModule } from '@nestjs/config'; | 9 | import { ConfigModule } from '@nestjs/config'; |
| 11 | import { ThrottlerModule } from '@nestjs/throttler'; | 10 | import { ThrottlerModule } from '@nestjs/throttler'; |
| 12 | 11 | ||
| 13 | @Module({ | 12 | @Module({ |
| 14 | imports: [ | 13 | imports: [ |
| 15 | - PublicModule, | ||
| 16 | PrivateModule, | 14 | PrivateModule, |
| 17 | UsersModule, | 15 | UsersModule, |
| 18 | AuthModule, | 16 | AuthModule, |
| @@ -18,8 +18,6 @@ | @@ -18,8 +18,6 @@ | ||
| 18 | "forceConsistentCasingInFileNames": true, | 18 | "forceConsistentCasingInFileNames": true, |
| 19 | "noFallthroughCasesInSwitch": true, | 19 | "noFallthroughCasesInSwitch": true, |
| 20 | "paths": { | 20 | "paths": { |
| 21 | - "@app/public": ["libs/public-api/src"], | ||
| 22 | - "@app/public/*": ["libs/public-api/src/*"], | ||
| 23 | "@app/private": ["libs/private-api/src"], | 21 | "@app/private": ["libs/private-api/src"], |
| 24 | "@app/private/*": ["libs/private-api/src/*"] | 22 | "@app/private/*": ["libs/private-api/src/*"] |
| 25 | } | 23 | } |
Please
register
or
login
to post a comment