Skip to content

Commit

Permalink
feat: add e2e selector id
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Nov 5, 2024
1 parent d46379a commit 16437a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default defineNuxtConfig({
compatibilityDate: '2024-07-01',
runtimeConfig: {
serverUrl: 'https://dash.globalping.io',
serverUrl: process.env.SERVER_URL || 'https://dash.globalping.io',
public: {
gpAuthUrl: process.env.GP_API_URL || 'https://auth.globalping.io',
directusUrl: process.env.DIRECTUS_URL || 'https://dash-directus.globalping.io',
Expand Down Expand Up @@ -54,7 +54,7 @@ export default defineNuxtConfig({
},
$development: {
runtimeConfig: {
serverUrl: 'http://localhost:13010',
serverUrl: process.env.SERVER_URL || 'http://localhost:13010',
public: {
gpAuthUrl: process.env.GP_API_URL || 'http://localhost:13110',
directusUrl: process.env.DIRECTUS_URL || 'http://localhost:18055',
Expand Down
2 changes: 1 addition & 1 deletion pages/tokens.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<div>
<p class="font-bold">Don't forget to copy your new access token.</p>
<p class="mt-2">You won’t be able to see it again.</p>
<CodeBlock class="mt-2" :commands="[[generatedToken!.value]]"/>
<CodeBlock id="e2e_token-value" class="mt-2" :commands="[[generatedToken!.value]]"/>
</div>
<div class="ml-auto">
<Button
Expand Down

0 comments on commit 16437a5

Please sign in to comment.