diff --git a/Project/EETGW.csproj b/Project/EETGW.csproj
index 89b5d44..1ec57f3 100644
--- a/Project/EETGW.csproj
+++ b/Project/EETGW.csproj
@@ -50,7 +50,7 @@
true
Full
False
- ..\..\..\..\amkor\GroupWare\
+ ..\..\..\..\Amkor\GroupWare\
TRACE;DEBUG;WEB1
prompt
4
@@ -671,21 +671,6 @@
PreserveNewest
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
PreserveNewest
@@ -722,18 +707,6 @@
PreserveNewest
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
-
- PreserveNewest
-
PreserveNewest
@@ -749,9 +722,6 @@
PreserveNewest
-
- PreserveNewest
-
diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs
index a71d289..6e7d7d5 100644
--- a/Project/Properties/AssemblyInfo.cs
+++ b/Project/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("25.11.03.1350")]
-[assembly: AssemblyFileVersion("25.11.03.1350")]
+[assembly: AssemblyVersion("25.11.11.1030")]
+[assembly: AssemblyFileVersion("25.11.11.1030")]
diff --git a/Project/Web/Startup.cs b/Project/Web/Startup.cs
index 26c3ffe..6734740 100644
--- a/Project/Web/Startup.cs
+++ b/Project/Web/Startup.cs
@@ -18,7 +18,34 @@ namespace Project.OWIN
{
app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
- // 정적 파일 서빙을 가장 먼저 설정 (다른 모든 미들웨어보다 우선)
+ // 캐시 방지 미들웨어를 가장 먼저 설정 (정적 파일 서빙보다 우선)
+ app.Use(async (context, next) =>
+ {
+ var path = context.Request.Path.Value;
+
+ // 모든 정적 리소스에 대해 캐시 방지 헤더 설정
+ if (path.EndsWith(".js") ||
+ path.EndsWith(".css") ||
+ path.EndsWith(".jsx") ||
+ path.EndsWith(".tsx") ||
+ path.EndsWith(".html") ||
+ path.EndsWith(".htm"))
+ {
+ context.Response.Headers["Cache-Control"] = "no-cache, no-store, must-revalidate";
+ context.Response.Headers["Pragma"] = "no-cache";
+ context.Response.Headers["Expires"] = "0";
+ }
+
+ // JSX/TSX 파일을 JavaScript로 처리
+ if (path.EndsWith(".jsx") || path.EndsWith(".tsx"))
+ {
+ context.Response.ContentType = "application/javascript; charset=utf-8";
+ }
+
+ await next();
+ });
+
+ // 정적 파일 서빙 설정
var staticFileOptions = new FileServerOptions
{
EnableDefaultFiles = true,
@@ -28,31 +55,6 @@ namespace Project.OWIN
};
app.UseFileServer(staticFileOptions);
- // 캐시 방지 미들웨어 (정적 파일이 처리되지 않은 경우에만 적용)
- app.Use(async (context, next) =>
- {
- var path = context.Request.Path.Value;
-
- if (path.EndsWith(".js") ||
- path.EndsWith(".css") ||
- path.EndsWith(".jsx") ||
- path.EndsWith(".tsx") ||
- path.EndsWith(".html"))
- {
- context.Response.Headers["Cache-Control"] = "no-cache, no-store, must-revalidate";
- context.Response.Headers["Pragma"] = "no-cache";
- context.Response.Headers["Expires"] = "0";
- }
-
- // JSX/TSX 파일을 JavaScript로 처리
- if (path.EndsWith(".jsx") || path.EndsWith(".tsx"))
- {
- context.Response.ContentType = "application/javascript";
- }
-
- await next();
- });
-
// Configure Web API for Self-Host (정적 파일 후에 설정)
HttpConfiguration config = new HttpConfiguration();
diff --git a/Project/Web/wwwroot/DashBoard/index.html b/Project/Web/wwwroot/DashBoard/index.html
index 191f0f9..e9bb63e 100644
--- a/Project/Web/wwwroot/DashBoard/index.html
+++ b/Project/Web/wwwroot/DashBoard/index.html
@@ -7,7 +7,7 @@
- 근태현황 대시보드
+ 근태현황 대시보드*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-