File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const KUN_SITE_LIST = [
2424 { name : '鲲 Galgame 开发文档' , url : KUN_SITE_DEVELOPMENT_DOCUMENTATION }
2525]
2626const KUN_SITE_THEME_COLOR = '#006FEE'
27- const KUN_SITE_VALID_DOMAIN_LIST = [ KUN_SITE_URL , KUN_SITE_URL_BACKUP ]
27+ const KUN_SITE_VALID_DOMAIN_LIST = [ 'www.kungal.com' , 'www.kungal.org' ]
2828
2929const KUN_SITE_KEYWORDS = [
3030 'Galgame' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " kun-galgame-nuxt3" ,
3- "version" : " 3.4.45 " ,
3+ "version" : " 3.4.46 " ,
44 "packageManager" : " pnpm@10.4.1" ,
55 "private" : true ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ export default defineNuxtPlugin(() => {
99 const isProduction = process . env . NODE_ENV === 'production'
1010
1111 if ( isProduction && ! legitimateDomains . includes ( currentHostname ) ) {
12- window . location . href = `https://${ legitimateDomains [ 0 ] } ${ window . location . pathname } ${ window . location . search } `
12+ navigateTo (
13+ `${ legitimateDomains [ 0 ] } ${ window . location . pathname } ${ window . location . search } ` ,
14+ { external : true }
15+ )
1316 }
1417} )
You can’t perform that action at this time.
0 commit comments