CORS settings #8

Merged
Ghost merged 2 commits from feature into rc 2025-03-26 15:38:54 +03:00
Collaborator
There is no content yet.
VladislavD was assigned by DmitriyA 2025-03-26 14:57:07 +03:00
Ghost was assigned by DmitriyA 2025-03-26 14:57:07 +03:00
DmitriyA added 1 commit 2025-03-26 14:57:08 +03:00
test-org/trust-module-backend/pipeline/pr-rc This commit looks good Details
b8b55951e8
CORS settings
VladislavD approved these changes 2025-03-26 15:22:19 +03:00
VladislavD left a comment
Collaborator

мне все вообще понравилось

мне все вообще понравилось
@ -21,3 +18,3 @@
// Проверяем, что нашли пользователя и пароль совпадает
if (user && user.password === password) {
console.log(`Авторизация успешна`);
Collaborator

мне нравится это изменение

мне нравится это изменение
@ -6,2 +6,4 @@
const app = await NestFactory.create(AppModule);
//настройка CORS
Collaborator

это тоже

это тоже
src/main.ts Outdated
@ -8,3 +10,3 @@
app.enableCors({
origin: '*',
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
//methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
Collaborator

а это тем более

а это тем более
DmitriyA added 1 commit 2025-03-26 15:38:17 +03:00
test-org/trust-module-backend/pipeline/pr-rc This commit looks good Details
c02a6fdbe1
add OPTIONS
Ghost merged commit 8b494be023 into rc 2025-03-26 15:38:54 +03:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: deployer3000/trust-module-backend#8
There is no content yet.