From 26702fef6fdf6ee1594a63d21857e882c5898206 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Thu, 25 May 2023 14:02:51 +0500 Subject: [PATCH] yo --- dashboard/routes/docs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard/routes/docs.js b/dashboard/routes/docs.js index 91b7d4f8..9afa2404 100644 --- a/dashboard/routes/docs.js +++ b/dashboard/routes/docs.js @@ -2,6 +2,8 @@ const express = require("express"), router = express.Router(); router.get("/", function (req, res) { + res.set("Access-Control-Allow-Origin", "*"); + res.render("docs", { user: req.userInfos, translate: req.translate,