525e988637
연락처 정보: - 전화번호: 010-4122-8268 - 이메일: taxbaik5668@gmail.com - 카카오톡 채널: http://pf.kakao.com/_xoxchTX - 인스타그램: https://www.instagram.com/taxtory5668/ 수정 사항: - appsettings.json: SiteSettings에 연락처 추가 - _Header.cshtml: 헤더의 전화번호 링크 반영 - _Layout.cshtml: 모바일 CTA 바 카카오톡 직접 링크 연결 - _Footer.cshtml: 전화, 이메일, 채널 링크 모두 반영 - Contact.cshtml: 전화 상담 옵션 추가 Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
999 B
C#
41 lines
999 B
C#
using Microsoft.AspNetCore.Authentication.Cookies;
|
|
using MudBlazor.Services;
|
|
using TaxBaik.Application;
|
|
using TaxBaik.Infrastructure;
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
|
|
.AddCookie(opts => {
|
|
opts.LoginPath = "/login";
|
|
opts.ExpireTimeSpan = TimeSpan.FromHours(8);
|
|
});
|
|
builder.Services.AddAuthorizationCore();
|
|
|
|
builder.Services.AddRazorPages();
|
|
builder.Services.AddServerSideBlazor();
|
|
builder.Services.AddMudServices();
|
|
builder.Services.AddMemoryCache();
|
|
builder.Services.AddInfrastructure();
|
|
builder.Services.AddApplication();
|
|
|
|
var app = builder.Build();
|
|
|
|
if (!app.Environment.IsDevelopment())
|
|
{
|
|
app.UseExceptionHandler("/Error");
|
|
app.UseHsts();
|
|
}
|
|
|
|
app.UsePathBase("/taxbaik/admin");
|
|
app.UseHttpsRedirection();
|
|
app.UseStaticFiles();
|
|
app.UseRouting();
|
|
app.UseAuthentication();
|
|
app.UseAuthorization();
|
|
|
|
app.MapBlazorHub();
|
|
app.MapFallbackToPage("/_Host");
|
|
|
|
app.Run();
|