正在显示
4 个修改的文件
包含
272 行增加
和
18 行删除
| 1 | // https://nuxt.com/docs/api/configuration/nuxt-config | 1 | // https://nuxt.com/docs/api/configuration/nuxt-config |
| 2 | export default defineNuxtConfig({ | 2 | export default defineNuxtConfig({ |
| 3 | + ssr: true, | ||
| 3 | runtimeConfig: { | 4 | runtimeConfig: { |
| 4 | public: { | 5 | public: { |
| 5 | baseUrl: process.env.NUXT_API_URL, | 6 | baseUrl: process.env.NUXT_API_URL, |
| @@ -12,12 +13,12 @@ export default defineNuxtConfig({ | @@ -12,12 +13,12 @@ export default defineNuxtConfig({ | ||
| 12 | ], | 13 | ], |
| 13 | devServer: { | 14 | devServer: { |
| 14 | host: 'localhost', | 15 | host: 'localhost', |
| 15 | - port: 3000 | 16 | + port: 3666 |
| 16 | }, | 17 | }, |
| 17 | nitro: { | 18 | nitro: { |
| 18 | devProxy: { | 19 | devProxy: { |
| 19 | '/dev-api': { | 20 | '/dev-api': { |
| 20 | - target: 'http://htai.toolsai.cc/', | 21 | + target: 'http://192.168.2.220:35273/', |
| 21 | changeOrigin: true, | 22 | changeOrigin: true, |
| 22 | 23 | ||
| 23 | } | 24 | } |
| @@ -25,14 +26,14 @@ export default defineNuxtConfig({ | @@ -25,14 +26,14 @@ export default defineNuxtConfig({ | ||
| 25 | // 该配置用于服务端请求转发 | 26 | // 该配置用于服务端请求转发 |
| 26 | routeRules: { | 27 | routeRules: { |
| 27 | '/dev-api/**': { | 28 | '/dev-api/**': { |
| 28 | - proxy: 'http://htai.toolsai.cc/**' | 29 | + proxy: 'http://192.168.2.220:35273/**' |
| 29 | }, | 30 | }, |
| 30 | }, | 31 | }, |
| 31 | - prerender: { | ||
| 32 | - routes: ['/sitemap.xml'], | ||
| 33 | - // 从预渲染中排除 sitemap.xml,让它动态生成 | ||
| 34 | - ignore: ['/sitemap.xml'] | ||
| 35 | - } | 32 | + // prerender: { |
| 33 | + // routes: ['/sitemap.xml'], | ||
| 34 | + // // 从预渲染中排除 sitemap.xml,让它动态生成 | ||
| 35 | + // ignore: ['/sitemap.xml'] | ||
| 36 | + // } | ||
| 36 | }, | 37 | }, |
| 37 | css: [ | 38 | css: [ |
| 38 | '~/assets/iconfonts/iconfont.css', | 39 | '~/assets/iconfonts/iconfont.css', |
public/robots.txt
0 → 100644
| 1 | +User-agent: Amazonbot | ||
| 2 | +Disallow: / | ||
| 3 | + | ||
| 4 | +User-agent: anthropic-ai | ||
| 5 | +Disallow: / | ||
| 6 | + | ||
| 7 | +User-agent: AwarioRssBot | ||
| 8 | +User-agent: AwarioSmartBot | ||
| 9 | +Disallow: / | ||
| 10 | + | ||
| 11 | +User-agent: Bytespider | ||
| 12 | +Disallow: / | ||
| 13 | + | ||
| 14 | +User-agent: CCBot | ||
| 15 | +Disallow: / | ||
| 16 | + | ||
| 17 | +User-agent: ChatGPT-User | ||
| 18 | +Disallow: / | ||
| 19 | + | ||
| 20 | +User-agent: ClaudeBot | ||
| 21 | +Disallow: / | ||
| 22 | + | ||
| 23 | +User-agent: Claude-Web | ||
| 24 | +Disallow: / | ||
| 25 | + | ||
| 26 | +User-agent: cohere-ai | ||
| 27 | +Disallow: / | ||
| 28 | + | ||
| 29 | +User-agent: DataForSeoBot | ||
| 30 | +Disallow: / | ||
| 31 | + | ||
| 32 | +User-agent: Diffbot | ||
| 33 | +Disallow: / | ||
| 34 | + | ||
| 35 | +User-agent: FacebookBot | ||
| 36 | +Disallow: / | ||
| 37 | + | ||
| 38 | +User-agent: Google-Extended | ||
| 39 | +Disallow: / | ||
| 40 | + | ||
| 41 | +User-agent: GPTBot | ||
| 42 | +Disallow: / | ||
| 43 | + | ||
| 44 | +User-agent: magpie-crawler | ||
| 45 | +Disallow: / | ||
| 46 | + | ||
| 47 | +User-agent: NewsNow | ||
| 48 | +Disallow: / | ||
| 49 | + | ||
| 50 | +User-agent: news-please | ||
| 51 | +Disallow: / | ||
| 52 | + | ||
| 53 | +User-agent: omgili | ||
| 54 | +Disallow: / | ||
| 55 | + | ||
| 56 | +User-agent: omgilibot | ||
| 57 | +Disallow: / | ||
| 58 | + | ||
| 59 | +User-agent: peer39_crawler | ||
| 60 | +User-agent: peer39_crawler/1.0 | ||
| 61 | +Disallow: / | ||
| 62 | + | ||
| 63 | +User-agent: Scrapy | ||
| 64 | +Disallow: / | ||
| 65 | + | ||
| 66 | +User-agent: TurnitinBot | ||
| 67 | +Disallow: / | ||
| 68 | + | ||
| 69 | +User-agent: * | ||
| 70 | +Disallow: /wp-admin/ | ||
| 71 | +Disallow: /wp-log/ | ||
| 72 | +Disallow: /wp-includes/ | ||
| 73 | +Disallow: /bookmark/ | ||
| 74 | +Disallow: /go/ | ||
| 75 | +Disallow: /user | ||
| 76 | +Disallow: /hotnews | ||
| 77 | +Disallow: /?s=* | ||
| 78 | +Disallow: /search/ | ||
| 79 | +Disallow: /search?q= | ||
| 80 | +Sitemap: https://www.toolsai.cc/sitemap.xml |
public/sitemap.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
| 3 | + <url> | ||
| 4 | + <loc>https://www.toolsai.cc</loc> | ||
| 5 | + <changefreq>daily</changefreq> | ||
| 6 | + <priority>1.0</priority> | ||
| 7 | + </url> | ||
| 8 | + <url> | ||
| 9 | + <loc>https://www.toolsai.cc/category/ai-writing-tools</loc> | ||
| 10 | + <changefreq>daily</changefreq> | ||
| 11 | + <priority>0.8</priority> | ||
| 12 | + </url> | ||
| 13 | + <url> | ||
| 14 | + <loc>https://www.toolsai.cc/category/ai-image-generators</loc> | ||
| 15 | + <changefreq>daily</changefreq> | ||
| 16 | + <priority>0.8</priority> | ||
| 17 | + </url> | ||
| 18 | + <url> | ||
| 19 | + <loc>https://www.toolsai.cc/category/ai-image-background-removers</loc> | ||
| 20 | + <changefreq>daily</changefreq> | ||
| 21 | + <priority>0.8</priority> | ||
| 22 | + </url> | ||
| 23 | + <url> | ||
| 24 | + <loc>https://www.toolsai.cc/category/ai-image-big</loc> | ||
| 25 | + <changefreq>daily</changefreq> | ||
| 26 | + <priority>0.8</priority> | ||
| 27 | + </url> | ||
| 28 | + <url> | ||
| 29 | + <loc>https://www.toolsai.cc/category/ai-image-repair</loc> | ||
| 30 | + <changefreq>daily</changefreq> | ||
| 31 | + <priority>0.8</priority> | ||
| 32 | + </url> | ||
| 33 | + <url> | ||
| 34 | + <loc>https://www.toolsai.cc/category/ai-video-tools</loc> | ||
| 35 | + <changefreq>daily</changefreq> | ||
| 36 | + <priority>0.8</priority> | ||
| 37 | + </url> | ||
| 38 | + <url> | ||
| 39 | + <loc>https://www.toolsai.cc/category/ai-agent</loc> | ||
| 40 | + <changefreq>daily</changefreq> | ||
| 41 | + <priority>0.8</priority> | ||
| 42 | + </url> | ||
| 43 | + <url> | ||
| 44 | + <loc>https://www.toolsai.cc/category/ai-chatbots</loc> | ||
| 45 | + <changefreq>daily</changefreq> | ||
| 46 | + <priority>0.8</priority> | ||
| 47 | + </url> | ||
| 48 | + <url> | ||
| 49 | + <loc>https://www.toolsai.cc/category/ai-programming-tools</loc> | ||
| 50 | + <changefreq>daily</changefreq> | ||
| 51 | + <priority>0.8</priority> | ||
| 52 | + </url> | ||
| 53 | + <url> | ||
| 54 | + <loc>https://www.toolsai.cc/category/ai-design-tools</loc> | ||
| 55 | + <changefreq>daily</changefreq> | ||
| 56 | + <priority>0.8</priority> | ||
| 57 | + </url> | ||
| 58 | + <url> | ||
| 59 | + <loc>https://www.toolsai.cc/category/ai-audio-tools</loc> | ||
| 60 | + <changefreq>daily</changefreq> | ||
| 61 | + <priority>0.8</priority> | ||
| 62 | + </url> | ||
| 63 | + <url> | ||
| 64 | + <loc>https://www.toolsai.cc/category/ai-search-engines</loc> | ||
| 65 | + <changefreq>daily</changefreq> | ||
| 66 | + <priority>0.8</priority> | ||
| 67 | + </url> | ||
| 68 | + <url> | ||
| 69 | + <loc>https://www.toolsai.cc/category/ai-frameworks</loc> | ||
| 70 | + <changefreq>daily</changefreq> | ||
| 71 | + <priority>0.8</priority> | ||
| 72 | + </url> | ||
| 73 | + <url> | ||
| 74 | + <loc>https://www.toolsai.cc/category/ai-study</loc> | ||
| 75 | + <changefreq>daily</changefreq> | ||
| 76 | + <priority>0.8</priority> | ||
| 77 | + </url> | ||
| 78 | + <url> | ||
| 79 | + <loc>https://www.toolsai.cc/category/ai-models</loc> | ||
| 80 | + <changefreq>daily</changefreq> | ||
| 81 | + <priority>0.8</priority> | ||
| 82 | + </url> | ||
| 83 | + <url> | ||
| 84 | + <loc>https://www.toolsai.cc/category/ai-model-evaluation</loc> | ||
| 85 | + <changefreq>daily</changefreq> | ||
| 86 | + <priority>0.8</priority> | ||
| 87 | + </url> | ||
| 88 | + <url> | ||
| 89 | + <loc>https://www.toolsai.cc/category/ai-content</loc> | ||
| 90 | + <changefreq>daily</changefreq> | ||
| 91 | + <priority>0.8</priority> | ||
| 92 | + </url> | ||
| 93 | + <url> | ||
| 94 | + <loc>https://www.toolsai.cc/category/ai-directive</loc> | ||
| 95 | + <changefreq>daily</changefreq> | ||
| 96 | + <priority>0.8</priority> | ||
| 97 | + </url> | ||
| 98 | + <url> | ||
| 99 | + <loc>https://www.toolsai.cc/details/16</loc> | ||
| 100 | + <changefreq>daily</changefreq> | ||
| 101 | + <priority>0.7</priority> | ||
| 102 | + </url> | ||
| 103 | + <url> | ||
| 104 | + <loc>https://www.toolsai.cc/details/24</loc> | ||
| 105 | + <changefreq>daily</changefreq> | ||
| 106 | + <priority>0.7</priority> | ||
| 107 | + </url> | ||
| 108 | + <url> | ||
| 109 | + <loc>https://www.toolsai.cc/details/23</loc> | ||
| 110 | + <changefreq>daily</changefreq> | ||
| 111 | + <priority>0.7</priority> | ||
| 112 | + </url> | ||
| 113 | + <url> | ||
| 114 | + <loc>https://www.toolsai.cc/details/22</loc> | ||
| 115 | + <changefreq>daily</changefreq> | ||
| 116 | + <priority>0.7</priority> | ||
| 117 | + </url> | ||
| 118 | + <url> | ||
| 119 | + <loc>https://www.toolsai.cc/details/21</loc> | ||
| 120 | + <changefreq>daily</changefreq> | ||
| 121 | + <priority>0.7</priority> | ||
| 122 | + </url> | ||
| 123 | + <url> | ||
| 124 | + <loc>https://www.toolsai.cc/details/20</loc> | ||
| 125 | + <changefreq>daily</changefreq> | ||
| 126 | + <priority>0.7</priority> | ||
| 127 | + </url> | ||
| 128 | + <url> | ||
| 129 | + <loc>https://www.toolsai.cc/details/19</loc> | ||
| 130 | + <changefreq>daily</changefreq> | ||
| 131 | + <priority>0.7</priority> | ||
| 132 | + </url> | ||
| 133 | + <url> | ||
| 134 | + <loc>https://www.toolsai.cc/details/18</loc> | ||
| 135 | + <changefreq>daily</changefreq> | ||
| 136 | + <priority>0.7</priority> | ||
| 137 | + </url> | ||
| 138 | + <url> | ||
| 139 | + <loc>https://www.toolsai.cc/details/17</loc> | ||
| 140 | + <changefreq>daily</changefreq> | ||
| 141 | + <priority>0.7</priority> | ||
| 142 | + </url> | ||
| 143 | + <url> | ||
| 144 | + <loc>https://www.toolsai.cc/details/8</loc> | ||
| 145 | + <changefreq>daily</changefreq> | ||
| 146 | + <priority>0.7</priority> | ||
| 147 | + </url> | ||
| 148 | + <url> | ||
| 149 | + <loc>https://www.toolsai.cc/details/15</loc> | ||
| 150 | + <changefreq>daily</changefreq> | ||
| 151 | + <priority>0.7</priority> | ||
| 152 | + </url> | ||
| 153 | + <url> | ||
| 154 | + <loc>https://www.toolsai.cc/details/14</loc> | ||
| 155 | + <changefreq>daily</changefreq> | ||
| 156 | + <priority>0.7</priority> | ||
| 157 | + </url> | ||
| 158 | + <url> | ||
| 159 | + <loc>https://www.toolsai.cc/details/13</loc> | ||
| 160 | + <changefreq>daily</changefreq> | ||
| 161 | + <priority>0.7</priority> | ||
| 162 | + </url> | ||
| 163 | + <url> | ||
| 164 | + <loc>https://www.toolsai.cc/details/12</loc> | ||
| 165 | + <changefreq>daily</changefreq> | ||
| 166 | + <priority>0.7</priority> | ||
| 167 | + </url> | ||
| 168 | + <url> | ||
| 169 | + <loc>https://www.toolsai.cc/details/11</loc> | ||
| 170 | + <changefreq>daily</changefreq> | ||
| 171 | + <priority>0.7</priority> | ||
| 172 | + </url> | ||
| 173 | + <url> | ||
| 174 | + <loc>https://www.toolsai.cc/details/10</loc> | ||
| 175 | + <changefreq>daily</changefreq> | ||
| 176 | + <priority>0.7</priority> | ||
| 177 | + </url> | ||
| 178 | + <url> | ||
| 179 | + <loc>https://www.toolsai.cc/details/9</loc> | ||
| 180 | + <changefreq>daily</changefreq> | ||
| 181 | + <priority>0.7</priority> | ||
| 182 | + </url> | ||
| 183 | +</urlset> |
server/routes/sitemap.xml.ts
已删除
100644 → 0
-
请 注册 或 登录 后发表评论