Skip to content

Commit 960106e

Browse files
authored
Merge pull request #225 from AndrewCS149/testWorkflow
testWorkflow
2 parents 964ba7d + 5e77832 commit 960106e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/Program.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ public static void Main(string[] args)
2626
options.AddPolicy("AllowSpecificOrigin", b => b.WithOrigins("https://andrewtest.org").AllowAnyHeader().AllowAnyMethod());
2727
});
2828

29-
// Add services to the container.
30-
// builder.Services.AddSwaggerGen();
29+
// --------------------- SWAGGER ----------------------------------
3130
builder.Services.AddSwaggerGen(c =>
3231
{
3332
c.SwaggerDoc("v1", new OpenApiInfo { Title = "DevBlog", Version = "v1" });
3433
});
3534

36-
// builder.Services.AddControllersWithViews();
35+
builder.Services.AddControllersWithViews();
3736

3837
// ----------------------- DATABASES -------------------------------
3938
builder.Services.AddDbContext<AppDbContext>(options =>

0 commit comments

Comments
 (0)