check point

This commit is contained in:
dimitar 2025-03-31 08:10:10 +02:00
parent 8d1eb8dea5
commit d2c69b655d
2 changed files with 2 additions and 14 deletions

View File

@ -1,13 +1,7 @@
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
POSTGRES_USER=root
POSTGRES_PASSWORD=irina76
POSTGRES_DB=imk_db
DATABASE_URL="postgresql://postgres:postgres@postgres:5432/imk_db?schema=public"
#DATABASE_URL="postgresql://root:irina76@localhost:5432/imk?schema=public"
JWT_SECRET=some-secret
AWS_REGION=EU2
AWS_ACCESS_KEY_ID=4d2f5655369a02100375e3247d7e1fe6
@ -15,12 +9,6 @@ AWS_SECRET_ACCESS_KEY=6d4723e14c0d799b89948c24dbe983e4
AWS_S3_BUCKET_NAME=imk-data
AWS_ENDPOINT_URL=https://eu2.contabostorage.com
#Email Configuration
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=taratur@gmail.com
# SMTP_PASS=dziy nccc svgg bovb
# EMAIL_FROM=taratur@gmail.com
SMTP_HOST=imk.mk
SMTP_PORT=465

View File

@ -1,6 +1,6 @@
import { Logger, ValidationPipe } from "@nestjs/common";
import { NestFactory } from "@nestjs/core";
import { AppModule } from "./app.module";
import { Logger, ValidationPipe } from "@nestjs/common";
async function bootstrap() {
const logger = new Logger("Bootstrap");
@ -18,7 +18,7 @@ async function bootstrap() {
"https://www.placebo.mk",
"https://placebo.mk",
"http://localhost:5173",
'https://imkapi.oblak.solutions',
"https://imkapi.oblak.solutions",
],
methods: "GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS",
credentials: true,