mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
feat: update nuxt.config.ts with redirects for specific paths; remove index.vue and add desktop/index.vue for app structure
This commit is contained in:
parent
3c1eb8176b
commit
8b07d4b3be
4 changed files with 27 additions and 11 deletions
|
@ -8,12 +8,15 @@ export default defineNuxtConfig({
|
|||
"/api/rss/**": { swr: 3600 },
|
||||
"/go/**": { ssr: true },
|
||||
"/find/**": { ssr: true },
|
||||
// Send ZIP bombs to troll bots
|
||||
"/wp-admin/**": { redirect: "https://s3.yhw.tw/data/def-zip-bomb/wp-admin.php.zip" },
|
||||
"/xmlrpc.php": { redirect: "https://s3.yhw.tw/data/def-zip-bomb/xmlrpc.php.zip" },
|
||||
"/wp-login.php": { redirect: "https://s3.yhw.tw/data/def-zip-bomb/wp-login.php.zip" },
|
||||
},
|
||||
|
||||
css: ["~/styles/main.css"],
|
||||
|
||||
modules: [
|
||||
"@nuxt/image",
|
||||
"@nuxtjs/robots",
|
||||
"@nuxtjs/seo",
|
||||
"@nuxtjs/i18n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue