From 5dfae6741594cf8d9c834e6ee94e4e6e52354ddd Mon Sep 17 00:00:00 2001 From: e11sy Date: Mon, 15 Jul 2024 20:16:09 +0300 Subject: [PATCH] attampt to solve vue script inability --- nginx.conf | 4 ++++ pages/ru.vue | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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'], } } });