Skip to content

Commit

Permalink
Fix CORS settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jleiva-gap committed Nov 25, 2024
1 parent 8de8524 commit 616729d
Showing 1 changed file with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<<<<<<<< HEAD:Application/EdFi.Ods.AdminApi.AdminConsole/Helpers/CorsSettings.cs
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EdFi.Ods.AdminApi.AdminConsole.Helpers;

public class CorsSettings
{
public bool EnableCors { get; set; }
public string[] AllowedOrigins { get; set; } = new string[0];
}
========
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EdFi.Ods.AdminApi.Common.Helpers;

public class CorsSettings
{
public bool EnableCors { get; set; }
public string[] AllowedOrigins { get; set; }
}
>>>>>>>> a7de2d9b (Fix CORS settings):Application/EdFi.Ods.AdminApi.Common/Infrastructure/Helpers/CorsSettings.cs

0 comments on commit 616729d

Please sign in to comment.