diff --git a/nginx.conf b/nginx.conf index 7417e24..7f915fc 100644 --- a/nginx.conf +++ b/nginx.conf @@ -12,4 +12,8 @@ server { location = /50x.html { root /usr/share/nginx/html; } + + location ~ (?.*)/$ { + return 301 $scheme://$host$no_slash; + } } diff --git a/pages/ru.vue b/pages/ru.vue index 50f3c9c..f3b0a80 100644 --- a/pages/ru.vue +++ b/pages/ru.vue @@ -408,7 +408,7 @@ export default Vue.extend({ "http://twitter.com/codex_team" ] } - }, + } }, { // JSON-LD schema.org markup for Product @@ -445,7 +445,8 @@ export default Vue.extend({ } } } - ] + ], + __dangerouslyDisableSanitizers: ['script'], } } });