This commit is contained in:
Swift
2024-02-08 16:31:28 +03:30
parent 3f39241b05
commit 35519caf0a
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -75,7 +75,7 @@
</div> </div>
</div> </div>
<div v-if="brands.length > 0" class="p-3" style="background-color: white; position: relative; <div v-if="brands.length > 0 && false" class="p-3" style="background-color: white; position: relative;
z-index: 999;"> z-index: 999;">
<div> <div>
<el-carousel :interval="5000" type="card" height="300px"> <el-carousel :interval="5000" type="card" height="300px">
@@ -153,7 +153,7 @@ export default {
} }
}, },
mounted(){ mounted(){
this.$axios.get(`https://api-asanmarket.iran.liara.run/brands`).then((res)=>{ this.$axios.get(`/api/public/brand`).then((res)=>{
this.brands = res.data this.brands = res.data
}) })
+1
View File
@@ -4,6 +4,7 @@ module.exports.rs=(req, res, next) => {
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization, siteuser'); res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization, siteuser');
res.setHeader('Author', "Mr Swift") res.setHeader('Author', "Mr Swift")
res.setHeader('X-Powered-By', "77 114 32 83 119 105 102 116") res.setHeader('X-Powered-By', "77 114 32 83 119 105 102 116")
res.setHeader('X-Develop-By', "77 114 32 83 119 105 102 116")
res.setHeader( res.setHeader(
"Strict-Transport-Security", "Strict-Transport-Security",
"max-age=31536000; includeSubDomains; preload" "max-age=31536000; includeSubDomains; preload"