Quellcode durchsuchen

ref!: change docs url

Sv443 vor 4 Monaten
Ursprung
Commit
ed04ddacd7
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      src/dev/latency-test.ts
  2. 1 1
      www/docs/.vuepress/config.mjs

+ 1 - 1
src/dev/latency-test.ts

@@ -17,7 +17,7 @@ async function run() {
   console.log(`\n\n>>> Running latency test with ${settings.amount} requests...\n`);
   const startTs = Date.now();
 
-  const times = [];
+  const times = [] as number[];
   for(let i = 0; i < settings.amount; i++) {
     const start = Date.now();
     await axios.get(settings.url, {

+ 1 - 1
www/docs/.vuepress/config.mjs

@@ -7,7 +7,7 @@ import rootPkgJson from "../../../package.json";
 
 export default defineUserConfig({
   lang: "en-US",
-  base: "/docs/v2/",
+  base: "/v2/docs/",
   title: "geniURL",
   description: "A simple JSON and XML REST API to search for song metadata, the lyrics URL and lyrics translations on genius.com",
   theme: defaultTheme({