Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

add sign-in xframe options

AykutSarac6b81875c47f2
diff --git a/next.config.js b/next.config.js
index 4710d197..316d705c 100644
--- a/next.config.js
+++ b/next.config.js
@@ -13,6 +13,19 @@ const config = {
compiler: {
styledComponents: true,
},
+ async headers() {
+ return [
+ {
+ source: "/sign-in",
+ headers: [
+ {
+ key: "X-Frame-Options",
+ value: "SAMEORIGIN",
+ },
+ ],
+ },
+ ];
+ },
};
const bundleAnalyzerConfig = withBundleAnalyzer(config);