feat(3d): integrate ZJB scene with project context
This commit is contained in:
@@ -18,6 +18,37 @@ const nextConfig = {
|
||||
},
|
||||
},
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: "/three-dimensional/zjb/v29/models/:path*",
|
||||
headers: [
|
||||
{
|
||||
key: "Cache-Control",
|
||||
value: "public, max-age=2592000, immutable",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
source: "/three-dimensional/zjb/v29/vendor/:path*",
|
||||
headers: [
|
||||
{
|
||||
key: "Cache-Control",
|
||||
value: "public, max-age=2592000, immutable",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
source: "/three-dimensional/zjb/v29/water-network-v28.json",
|
||||
headers: [
|
||||
{
|
||||
key: "Cache-Control",
|
||||
value: "public, max-age=2592000, immutable",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
|
||||
Reference in New Issue
Block a user