Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

update index.html (#848)

Guy Ben-Aharon815a52f19223
diff --git a/index.html b/index.html
index 8af100c7..662d370a 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="robots" content="max-image-preview:large" />
+ <meta name="robots" content="noindex, max-image-preview:large" />
<title>ChartDB - Create & Visualize Database Schema Diagrams</title>
<link rel="canonical" href="https://chartdb.io" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -16,9 +16,12 @@
<script src="/config.js"></script>
<script>
// Load analytics only if not disabled
- (function() {
- const disableAnalytics = (window.env && window.env.DISABLE_ANALYTICS === 'true') ||
- (typeof process !== 'undefined' && process.env && process.env.VITE_DISABLE_ANALYTICS === 'true');
+ (function () {
+ const disableAnalytics =
+ (window.env && window.env.DISABLE_ANALYTICS === 'true') ||
+ (typeof process !== 'undefined' &&
+ process.env &&
+ process.env.VITE_DISABLE_ANALYTICS === 'true');
if (!disableAnalytics) {
const script = document.createElement('script');
diff --git a/public/robots.txt b/public/robots.txt
index 39d18dfe..4464e427 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -1,4 +1,4 @@
User-agent: *
-Allow: /
+Disallow: /
Sitemap: https://app.chartdb.io/sitemap.xml