Skip to content

Commit

Permalink
attampt to solve vue script inability
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Jul 15, 2024
1 parent 50b14f2 commit 5dfae67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ server {
location = /50x.html {
root /usr/share/nginx/html;
}

location ~ (?<no_slash>.*)/$ {
return 301 $scheme://$host$no_slash;
}
}
5 changes: 3 additions & 2 deletions pages/ru.vue
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export default Vue.extend({
"http://twitter.com/codex_team"
]
}
},
}
},
{
// JSON-LD schema.org markup for Product
Expand Down Expand Up @@ -445,7 +445,8 @@ export default Vue.extend({
}
}
}
]
],
__dangerouslyDisableSanitizers: ['script'],
}
}
});
Expand Down

0 comments on commit 5dfae67

Please sign in to comment.