@@ -69,7 +69,7 @@ const koBlogsPostDates = getKoPostDates("./blog");
6969const koHobbyPostDates = getKoPostDates ( "./hobby" ) ;
7070const koPostDates = { ...koBlogsPostDates , ...koHobbyPostDates } ;
7171
72- const SITE_ORIGIN = "https://aaronryu.netlify.app " ;
72+ const SITE_ORIGIN = "https://aaronryu.github.io " ;
7373// https://astro.build/config
7474export default defineConfig ( {
7575 // (A) Astro-specific options
@@ -79,30 +79,22 @@ export default defineConfig({
7979
8080 // prettier-ignore
8181 redirects : {
82- "/2019/02/17/how-do-i-make-email-address" : "/ko/posts/engineering/how-do-i-make-email-address" ,
82+ // "/2019/02/17/how-do-i-make-email-address": "/ko/posts/engineering/how-do-i-make-email-address",
8383 "/2019/02/17/how-do-i-make-email-address/" : "/ko/posts/engineering/how-do-i-make-email-address" ,
84- "/2019/02/17/how-do-i-make-email-address/index.html" : "/ko/posts/engineering/how-do-i-make-email-address" ,
85- "/2019/03/24/only-one-page-for-functional-programming" : "/ko/posts/engineering/only-one-page-for-functional-programming" ,
84+ // "/2019/03/24/only-one-page-for-functional-programming": "/ko/posts/engineering/only-one-page-for-functional-programming",
8685 "/2019/03/24/only-one-page-for-functional-programming/" : "/ko/posts/engineering/only-one-page-for-functional-programming" ,
87- "/2019/03/24/only-one-page-for-functional-programming/index.html" : "/ko/posts/engineering/only-one-page-for-functional-programming" ,
88- "/2019/05/27/coroutine-and-thread" : "/ko/posts/engineering/coroutine-and-thread" ,
86+ // "/2019/05/27/coroutine-and-thread": "/ko/posts/engineering/coroutine-and-thread",
8987 "/2019/05/27/coroutine-and-thread/" : "/ko/posts/engineering/coroutine-and-thread" ,
90- "/2019/05/27/coroutine-and-thread/index.html" : "/ko/posts/engineering/coroutine-and-thread" ,
91- "/2021/02/07/things-that-i-should-have-known-when-i-was-a-junior-developer" : "/ko/posts/engineering/things-that-i-should-have-known-when-i-was-a-junior-developer" ,
88+ // "/2021/02/07/things-that-i-should-have-known-when-i-was-a-junior-developer": "/ko/posts/engineering/things-that-i-should-have-known-when-i-was-a-junior-developer",
9289 "/2021/02/07/things-that-i-should-have-known-when-i-was-a-junior-developer/" : "/ko/posts/engineering/things-that-i-should-have-known-when-i-was-a-junior-developer" ,
93- "/2021/02/07/things-that-i-should-have-known-when-i-was-a-junior-developer/index.html" : "/ko/posts/engineering/things-that-i-should-have-known-when-i-was-a-junior-developer" ,
94- "/2021/02/14/a-tutorial-for-spring-mvc-and-security" : "/ko/posts/engineering/a-tutorial-for-spring-mvc-and-security" ,
90+ // "/2021/02/14/a-tutorial-for-spring-mvc-and-security": "/ko/posts/engineering/a-tutorial-for-spring-mvc-and-security",
9591 "/2021/02/14/a-tutorial-for-spring-mvc-and-security/" : "/ko/posts/engineering/a-tutorial-for-spring-mvc-and-security" ,
96- "/2021/02/14/a-tutorial-for-spring-mvc-and-security/index.html" : "/ko/posts/engineering/a-tutorial-for-spring-mvc-and-security" ,
97- "/2021/03/14/thread-and-security-context-holder-mode" : "/ko/posts/engineering/thread-and-security-context-holder-mode" ,
92+ // "/2021/03/14/thread-and-security-context-holder-mode": "/ko/posts/engineering/thread-and-security-context-holder-mode",
9893 "/2021/03/14/thread-and-security-context-holder-mode/" : "/ko/posts/engineering/thread-and-security-context-holder-mode" ,
99- "/2021/03/14/thread-and-security-context-holder-mode/index.html" : "/ko/posts/engineering/thread-and-security-context-holder-mode" ,
100- "/resume" : "/ko/about" ,
94+ // "/resume": "/ko/about",
10195 "/resume/" : "/ko/about" ,
102- "/resume/index.html" : "/ko/about" ,
103- "/about" : "/ko/about" ,
96+ // "/about": "/ko/about",
10497 "/about/" : "/ko/about" ,
105- "/about/index.html" : "/ko/about" ,
10698 } ,
10799
108100 // (B) Vite-specific options
@@ -124,7 +116,7 @@ export default defineConfig({
124116 const slug = urlPath . split ( "/" ) . pop ( ) ;
125117
126118 // 루트 URL 사이트맵에서 제거
127- const isRoot = urlPath === "https://aaronryu.netlify.app" ;
119+ const isRoot = urlPath === SITE_ORIGIN ;
128120 if ( isRoot ) return null ;
129121
130122 if ( item . url . includes ( "/posts/" ) && koPostDates [ slug ] ) {
0 commit comments