diff --git a/assets/css/global.css b/assets/css/global.css index 84f817b9..f04ac2ed 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -44,10 +44,6 @@ html { background: linear-gradient(to left, var(--dark-800), transparent); } -.nuxt-icon svg { - margin-bottom: 0 !important; -} - .no-scrollbar::-webkit-scrollbar { display: none; } diff --git a/components/AdminPanel.vue b/components/AdminPanel.vue index c288f14c..3b2ec540 100644 --- a/components/AdminPanel.vue +++ b/components/AdminPanel.vue @@ -91,7 +91,7 @@ impersonationList.value = users as (User & { github_username: string })[]; if (impersonationList.value.length === 1) { - applyImpersonation(impersonationList.value[0]); + applyImpersonation(impersonationList.value[0]!); } } catch (error) { console.error('Error during impersonation:', error instanceof Error ? error.message : 'Unknown error'); diff --git a/components/AdoptProbe.vue b/components/AdoptProbe.vue index 60273201..4fd22562 100644 --- a/components/AdoptProbe.vue +++ b/components/AdoptProbe.vue @@ -81,7 +81,7 @@

Software probe

A Docker container that runs on your own hardware.

- +
@@ -188,8 +188,8 @@
-
+
diff --git a/nuxt.config.ts b/nuxt.config.ts index 100a2ad2..89178458 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -3,8 +3,9 @@ export default defineNuxtConfig({ runtimeConfig: { serverUrl: process.env.DASH_URL || 'https://dash.globalping.io', public: { - gpAuthUrl: process.env.GP_API_URL || 'https://auth.globalping.io', + gpAuthUrl: process.env.GP_AUTH_URL || 'https://auth.globalping.io', directusUrl: process.env.DIRECTUS_URL || 'https://dash-directus.globalping.io', + gpApiUrl: process.env.GP_API_URL || 'https://api.globalping.io', itemsPerTablePage: 10, }, }, @@ -12,11 +13,13 @@ export default defineNuxtConfig({ runtimeConfig: { serverUrl: process.env.DASH_URL || 'http://localhost:13010', public: { - gpAuthUrl: process.env.GP_API_URL || 'http://localhost:13110', + gpAuthUrl: process.env.GP_AUTH_URL || 'http://localhost:13110', directusUrl: process.env.DIRECTUS_URL || 'http://localhost:18055', + gpApiUrl: process.env.GP_API_URL || 'http://localhost:3000', }, }, devtools: { enabled: true }, + ignore: [ 'node_modules' ], }, app: { head: { @@ -44,7 +47,6 @@ export default defineNuxtConfig({ '@primevue/nuxt-module', '@pinia/nuxt', '@vueuse/nuxt', - 'nuxt-icons', 'nuxt3-interpolation', ], css: [ 'primeicons/primeicons.css', '~/assets/css/base.css', '~/assets/css/global.css' ], diff --git a/package.json b/package.json index 32177645..2a1fb9f0 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "chart.js": "^4.5.0", "lodash": "^4.17.21", "nuxt": "^3.17.5", - "nuxt-icons": "^3.2.1", "nuxt3-interpolation": "^1.0.16", "pinia": "^3.0.3", "primeicons": "^7.0.0", diff --git a/pages/credits.vue b/pages/credits.vue index ef2f8ef4..a69b04aa 100644 --- a/pages/credits.vue +++ b/pages/credits.vue @@ -46,10 +46,10 @@ diff --git a/pages/index.vue b/pages/index.vue index 955d0de6..44f33c33 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -40,7 +40,7 @@ :outlined="!!adoptedProbes.length" @click="adoptProbeDialog = true" > - +
diff --git a/pages/probes/[id].vue b/pages/probes/[id].vue index 02fc6075..09605315 100644 --- a/pages/probes/[id].vue +++ b/pages/probes/[id].vue @@ -1,9 +1,9 @@