diff --git a/quasar.config.js b/quasar.config.js index 4368452..db15878 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -52,7 +52,7 @@ module.exports = configure(function (/* ctx */) { browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'], node: 'node16', }, - + gzip: true, vueRouterMode: 'history', // available values: 'hash', 'history' // vueRouterBase, // vueDevtools, @@ -92,7 +92,7 @@ module.exports = configure(function (/* ctx */) { }, // iconSet: 'material-icons', // Quasar icon set - // lang: 'en-US', // Quasar language pack + lang: 'zh-CN', // Quasar language pack // For special cases outside of where the auto-import strategy can have an impact // (like functional components as one of the examples), diff --git a/src/api/api.ts b/src/api/api.ts index 30a8092..47e854b 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -4,7 +4,7 @@ class getdata { return await api.get('https://api.shagain.club/api.php?type=list'); } async text_server(url: string) { - return await api.post('http://149.129.107.38:1323/textserver', { url }); + return await api.post('https://api.shagain.club/textserver', { url }); } async get_country(ip: string) { return await api.get(`https://ip.useragentinfo.com/json?ip=${ip}`);