From eba1f9c0ec8e4ed4569779b7b8539ed0d6fce990 Mon Sep 17 00:00:00 2001 From: "yanlong.wang" Date: Mon, 10 Mar 2025 14:18:31 +0800 Subject: [PATCH] fix: provide our onw robots.txt --- package-lock.json | 8 ++++---- package.json | 2 +- public/robots.txt | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 public/robots.txt diff --git a/package-lock.json b/package-lock.json index 5a1680a..ca5e4c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "axios": "^1.3.3", "bcrypt": "^5.1.0", "busboy": "^1.6.0", - "civkit": "^0.8.4-6483ddd", + "civkit": "^0.8.4-92aafc5", "core-js": "^3.37.1", "cors": "^2.8.5", "dayjs": "^1.11.9", @@ -3989,9 +3989,9 @@ } }, "node_modules/civkit": { - "version": "0.8.4-6483ddd", - "resolved": "https://registry.npmjs.org/civkit/-/civkit-0.8.4-6483ddd.tgz", - "integrity": "sha512-nW9kDqvBg0I0ARkvPdZ9L46EYxrUMQ8f6FHfUxbyf2QHp2Tu5QjvAu8UxveGe4mbuMJhreDYuk7Ay1S0Af8wIg==", + "version": "0.8.4-92aafc5", + "resolved": "https://registry.npmjs.org/civkit/-/civkit-0.8.4-92aafc5.tgz", + "integrity": "sha512-Je5DTJs8H3fl3WYBbvKwqTzfUm5NuHt9WIrN3hJ5AHosQWGuyLrQf7N2lKo50aiTJdixEr3NDHqUwQ1KY59yoA==", "license": "AGPL", "dependencies": { "lodash": "^4.17.21", diff --git a/package.json b/package.json index 1487036..7c53b76 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "axios": "^1.3.3", "bcrypt": "^5.1.0", "busboy": "^1.6.0", - "civkit": "^0.8.4-6483ddd", + "civkit": "^0.8.4-92aafc5", "core-js": "^3.37.1", "cors": "^2.8.5", "dayjs": "^1.11.9", diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..c6742d8 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Disallow: /