mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
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:
parent
10158a390c
commit
937f8ad531
6 changed files with 87 additions and 46 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue