CORS settings #8
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: deployer3000/trust-module-backend#8
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "feature"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
мне все вообще понравилось
@ -21,3 +18,3 @@// Проверяем, что нашли пользователя и пароль совпадаетif (user && user.password === password) {console.log(`Авторизация успешна`);мне нравится это изменение
@ -6,2 +6,4 @@const app = await NestFactory.create(AppModule);//настройка CORSэто тоже
@ -8,3 +10,3 @@app.enableCors({origin: '*',methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',//methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',а это тем более