2023-12-07 07:11:20 +00:00
|
|
|
import {Link} from "./.nuxt/components.d"
|
2023-12-06 07:23:13 +00:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
ssr: true,
|
|
|
|
env: {
|
|
|
|
baseUrl: process.env.BASE_URL || "http://localhost:3000",
|
|
|
|
},
|
|
|
|
app: {
|
2023-12-08 11:08:55 +00:00
|
|
|
buildAssetsDir: "/static/",
|
|
|
|
|
2023-12-06 07:23:13 +00:00
|
|
|
head: {
|
2023-12-07 07:11:20 +00:00
|
|
|
link: [
|
|
|
|
{
|
|
|
|
rel: "stylesheet",
|
|
|
|
href: "//bbs.gter.net/data/cache/style_2_common.css?Z62",
|
|
|
|
},
|
|
|
|
],
|
2023-12-06 07:23:13 +00:00
|
|
|
script: [
|
|
|
|
{src: "https://app.gter.net/bottom?tpl=header&menukey=ask"},
|
|
|
|
{src: "https://app.gter.net/bottom?tpl=footer", body: true},
|
2023-12-07 07:11:20 +00:00
|
|
|
{
|
|
|
|
src: "//bbs.gter.net/static/js/common.js",
|
|
|
|
body: true,
|
|
|
|
charset: "gb2312",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
innerHTML: `
|
|
|
|
window.userInfoWin = {}
|
|
|
|
STYLEID = "2";
|
|
|
|
STATICURL = "static/";
|
|
|
|
IMGDIR = "https://bbs.gter.net/template/archy_plt8/image";
|
|
|
|
VERHASH = "Z62";
|
|
|
|
charset = "gbk";
|
|
|
|
discuz_uid = "0";
|
|
|
|
cookiepre = "4B5x_c0ae_";
|
|
|
|
cookiedomain = "gter.net";
|
|
|
|
cookiepath = "/";
|
|
|
|
showusercard = "1";
|
|
|
|
attackevasive = "0";
|
|
|
|
disallowfloat = "";
|
|
|
|
creditnotice = ",";
|
|
|
|
defaultstyle = "";
|
|
|
|
REPORTURL = "aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==";
|
|
|
|
SITEURL = "https://ask.gter.net/";
|
2023-12-07 10:58:40 +00:00
|
|
|
JSPATH = "static/js/";`,
|
2023-12-07 07:11:20 +00:00
|
|
|
type: "text/javascript",
|
|
|
|
charset: "utf-8",
|
|
|
|
},
|
2023-12-06 07:23:13 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2023-12-13 06:06:08 +00:00
|
|
|
head: {
|
|
|
|
meta: [{charset: "utf-8"}, {name: "viewport", content: "width=device-width, initial-scale=1"}, {"http-equiv": "Cache-Control", content: "no-cache, no-store, must-revalidate"}, {"http-equiv": "Pragma", content: "no-cache"}, {"http-equiv": "Expires", content: "0"}],
|
|
|
|
},
|
2023-12-06 07:23:13 +00:00
|
|
|
devtools: {enabled: true},
|
2023-12-13 06:06:08 +00:00
|
|
|
build: {
|
|
|
|
loaders: {
|
|
|
|
imgUrl: {limit: 10000},
|
|
|
|
},
|
|
|
|
},
|
2023-12-06 07:23:13 +00:00
|
|
|
})
|