Skip to content

Котлярский Вадим Лаб. 2 Группа 6512#155

Open
K0tlyarski wants to merge 4 commits into
itsecd:mainfrom
K0tlyarski:lab-2
Open

Котлярский Вадим Лаб. 2 Группа 6512#155
K0tlyarski wants to merge 4 commits into
itsecd:mainfrom
K0tlyarski:lab-2

Conversation

@K0tlyarski
Copy link
Copy Markdown

ФИО: Котлярский Вадим
Номер группы: 6512
Номер лабораторной: 2
Номер варианта: 24
Краткое описание предметной области: Медицинский пациент.
Краткое описание добавленных фич: Добавлена модель данных, добавлен сервис генерации, сделан endpoint, добавлен кеш, оркестратор

@github-actions github-actions Bot added In progress Код в процессе проверки Lab 2 Лабораторная №2. Балансировка нагрузки labels May 15, 2026
@github-actions github-actions Bot requested a review from Gwymlas May 15, 2026 20:47
{
options.AddPolicy("AllowClient", policy =>
{
policy.WithOrigins("http://localhost:5127", "https://localhost:5127")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Из launchSetings https порт другой

Comment thread ProjectApp.Api/Program.cs
Comment on lines +10 to +18
builder.Services.AddCors(options =>
{
options.AddDefaultPolicy(policy =>
{
policy.WithOrigins("http://localhost:5127")
.WithMethods("GET")
.WithHeaders("Content-Type");
});
});
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Теперь тут cors не нужны

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In progress Код в процессе проверки Lab 2 Лабораторная №2. Балансировка нагрузки

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants