✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
setup config for production
AykutSarac07ecb14ba5fb
diff --git a/next.config.js b/next.config.jsindex 34735bd1..a54f0a20 100644--- a/next.config.js+++ b/next.config.js@@ -1,7 +1,16 @@+const isProd = process.env.NODE_ENV === "production";+const assetPrefix = isProd ? '/jsonvisio.com' : ''+/** @type {import('next').NextConfig} */const nextConfig = {+ basePath: '/jsonvisio.com',+ exportPathMap: () => ({+ '/': { page: '/' },+ '/editor': { page: '/editor' },+ }),+ assetPrefix,reactStrictMode: true,- trailingSlash: true-}+ trailingSlash: true,+};-module.exports = nextConfig+module.exports = nextConfig;