[✨] 서버 FRONT 화면 띄우기 점검
서버에서 FRONT 화면 제대로 나오는지 확인하기 위한 푸시
|
@ -28,6 +28,12 @@
|
|||
<ItemGroup>
|
||||
<Folder Include="Program\Models\" />
|
||||
<Folder Include="Program\ViewModels\" />
|
||||
<Folder Include="Program\Views\Academy\" />
|
||||
<Folder Include="wwwroot\Resources\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="wwwroot\Resources\Images\.DS_Store" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
|
|
14
Program.cs
|
@ -1,6 +1,9 @@
|
|||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
using Front;
|
||||
using Front.Program.Services;
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
|
||||
|
@ -8,6 +11,15 @@ builder.RootComponents.Add<App>("#app");
|
|||
builder.RootComponents.Add<HeadOutlet>("head::after");
|
||||
|
||||
// builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:5144") });
|
||||
builder.Services.AddScoped(sp => //new HttpClient
|
||||
{
|
||||
// BaseAddress = new Uri("https://localhost:5144")
|
||||
var config = builder.Configuration;
|
||||
var http = new HttpClient();
|
||||
return http;
|
||||
});
|
||||
|
||||
// SCOPED 으로 등록된 서비스는 DI 컨테이너에 등록된 서비스의 인스턴스를 사용합니다.
|
||||
builder.Services.AddScoped<APIService>();
|
||||
|
||||
await builder.Build().RunAsync();
|
||||
|
|
12
Program/Services/APIService.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
namespace Front.Program.Services;
|
||||
|
||||
public class APIService
|
||||
{
|
||||
private readonly HttpClient _http;
|
||||
|
||||
public APIService(HttpClient http)
|
||||
{
|
||||
_http = http;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace Front.Program.Views.Academy;
|
||||
namespace Front.Program.Views.Project;
|
||||
|
||||
public partial class Auth : ComponentBase
|
||||
{
|
|
@ -10,6 +10,6 @@
|
|||
@using Front.Program.Layout
|
||||
|
||||
@using Front.Program.Views.Project
|
||||
@using Front.Program.Views.Academy
|
||||
@* @using Front.Program.Views.Academy *@
|
||||
|
||||
|
||||
|
|
BIN
wwwroot/Resources/Fonts/NPSfont_bold.otf
Normal file
BIN
wwwroot/Resources/Fonts/NPSfont_extrabold.otf
Normal file
BIN
wwwroot/Resources/Fonts/NPSfont_regular.otf
Normal file
BIN
wwwroot/Resources/Fonts/NotoSansKR-VariableFont_wght.ttf
Normal file
BIN
wwwroot/Resources/Images/Icon/Attendance.png
Normal file
After Width: | Height: | Size: 741 B |
BIN
wwwroot/Resources/Images/Icon/Attendance_Daily.png
Normal file
After Width: | Height: | Size: 779 B |
BIN
wwwroot/Resources/Images/Icon/Attendance_Monthly.png
Normal file
After Width: | Height: | Size: 630 B |
BIN
wwwroot/Resources/Images/Icon/Back.png
Normal file
After Width: | Height: | Size: 587 B |
BIN
wwwroot/Resources/Images/Icon/Calendar.png
Normal file
After Width: | Height: | Size: 636 B |
BIN
wwwroot/Resources/Images/Icon/Chatting.png
Normal file
After Width: | Height: | Size: 543 B |
BIN
wwwroot/Resources/Images/Icon/Clock.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
wwwroot/Resources/Images/Icon/Drive OFF.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
wwwroot/Resources/Images/Icon/Drive ON.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
wwwroot/Resources/Images/Icon/Drive.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
wwwroot/Resources/Images/Icon/Edit.png
Normal file
After Width: | Height: | Size: 684 B |
BIN
wwwroot/Resources/Images/Icon/Edu.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
wwwroot/Resources/Images/Icon/Etc.png
Normal file
After Width: | Height: | Size: 635 B |
BIN
wwwroot/Resources/Images/Icon/Face.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
wwwroot/Resources/Images/Icon/Flag.png
Normal file
After Width: | Height: | Size: 463 B |
BIN
wwwroot/Resources/Images/Icon/Group.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
wwwroot/Resources/Images/Icon/Home.png
Normal file
After Width: | Height: | Size: 604 B |
BIN
wwwroot/Resources/Images/Icon/Left.png
Normal file
After Width: | Height: | Size: 505 B |
BIN
wwwroot/Resources/Images/Icon/Management.png
Normal file
After Width: | Height: | Size: 577 B |
BIN
wwwroot/Resources/Images/Icon/Market.png
Normal file
After Width: | Height: | Size: 535 B |
BIN
wwwroot/Resources/Images/Icon/Notice.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
wwwroot/Resources/Images/Icon/Notice_New.png
Normal file
After Width: | Height: | Size: 618 B |
BIN
wwwroot/Resources/Images/Icon/Notice_Old.png
Normal file
After Width: | Height: | Size: 579 B |
BIN
wwwroot/Resources/Images/Icon/Notification OFF.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
wwwroot/Resources/Images/Icon/Notification ON.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
wwwroot/Resources/Images/Icon/Notification SET.png
Normal file
After Width: | Height: | Size: 945 B |
BIN
wwwroot/Resources/Images/Icon/Person.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
wwwroot/Resources/Images/Icon/Plus.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
wwwroot/Resources/Images/Icon/Ratio.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
wwwroot/Resources/Images/Icon/Right.png
Normal file
After Width: | Height: | Size: 470 B |
BIN
wwwroot/Resources/Images/Icon/Save.png
Normal file
After Width: | Height: | Size: 844 B |
BIN
wwwroot/Resources/Images/Icon/Setting.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
wwwroot/Resources/Images/Icon/Talk.png
Normal file
After Width: | Height: | Size: 716 B |
BIN
wwwroot/Resources/Images/Logo/APPLE.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
wwwroot/Resources/Images/Logo/Crystal_Icon.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
wwwroot/Resources/Images/Logo/KAKAO.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
wwwroot/Resources/Images/Logo/LOGO.png
Normal file
After Width: | Height: | Size: 830 KiB |
BIN
wwwroot/Resources/Images/Logo/MI.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
wwwroot/Resources/Images/Logo/OldLogo.png
Normal file
After Width: | Height: | Size: 811 KiB |
BIN
wwwroot/Resources/Images/Logo/PageIcon.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
wwwroot/Resources/Images/Logo/TeamIcon.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
wwwroot/Resources/Images/Logo/appIcon.png
Normal file
After Width: | Height: | Size: 120 KiB |
3
wwwroot/appsettings.Development.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"ApiBaseUrl": "https://devacamate.ipstein.myds.me/"
|
||||
}
|
3
wwwroot/appsettings.Production.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"ApiBaseUrl": "https://acamate.ipstein.myds.me/"
|
||||
}
|