Add I18N into the confirm quit option & you can now view articles from clicking on the "View article" button (but for now you can not view dynamic articles & also chnaged the path from /_assets/ to /n3a_assets/ & Made the title as the navbar thing

This commit is contained in:
yuanhau 2025-05-29 15:32:10 +08:00
parent 10158a390c
commit 937f8ad531
6 changed files with 87 additions and 46 deletions

View file

@ -20,11 +20,13 @@ export default defineNuxtConfig({
},
"/api/**": {
cors: true,
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS",
"Access-Control-Allow-Headers": "Content-Type, Authorization, X-Requested-With",
},
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods":
"GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS",
"Access-Control-Allow-Headers":
"Content-Type, Authorization, X-Requested-With",
},
},
"/api/cached/**": { swr: 3600 },
"/api/news/get": { swr: 3600 },
@ -58,7 +60,7 @@ export default defineNuxtConfig({
},
app: {
buildAssetsDir: "/_assets/",
buildAssetsDir: "/_n3a_assets/",
head: {
title: "",
htmlAttrs: {