Skip to content

Commit

Permalink
SEO fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
steel97 committed Feb 1, 2024
1 parent 774eb95 commit 3a10d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NUXT_PUBLIC_BASE_URL=http://localhost:3000
NUXT_PUBLIC_BASE_URL_FRONTEND=https://veil.tools
NUXT_PUBLIC_I18N_BASE_URL=http://localhost:3000
NUXT_PUBLIC_SNAPSHOT_MIRRORS=[{"name": "Mainnet", "icon": "/images/networks/mainnet.svg", "mirrors": [{"name": "NA1", "path": "https://mirror-na1.veil.tools/"}, {"name": "NA2", "path": "https://mirror-na2.veil.tools/"},{"name": "EU1", "path": "https://mirror-eu1.veil.tools/"}, {"name": "EU2", "path": "https://mirror-eu2.veil.tools/"}]}, {"name": "Testnet", "icon": "/images/networks/testnet.svg", "mirrors": [{"name": "NA1", "path": "https://mirror-na1.veil.tools/testnet/"}, {"name": "NA2", "path": "https://mirror-na2.veil.tools/testnet/"},{"name": "EU1", "path": "https://mirror-eu1.veil.tools/testnet/"}, {"name": "EU2", "path": "https://mirror-eu2.veil.tools/testnet/"}]}]
NUXT_PUBLIC_EXPLORER_BACKEND_ENDPOINT=https://explorer-api.veil-project.com
NUXT_PUBLIC_NETWORK_PRE_MEASURE_FILE_SIZE=51200
Expand Down
6 changes: 4 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ export default defineNuxtConfig({
devtools: { enabled: true },
runtimeConfig: {
public: {
i18n: {
baseUrl: process.env.NUXT_PUBLIC_I18N_BASE_URL!
},
baseUrl: process.env.NUXT_PUBLIC_BASE_URL!,
snapshotMirrors: JSON.parse(process.env.NUXT_PUBLIC_SNAPSHOT_MIRRORS!),
networkPreMeasureFileSize: parseInt(process.env.NUXT_PUBLIC_NETWORK_PRE_MEASURE_FILE_SIZE!),
Expand All @@ -19,7 +22,6 @@ export default defineNuxtConfig({
"@nuxtjs/tailwindcss"
],
i18n: {
baseUrl: process.env.NUXT_PUBLIC_BASE_URL_FRONTEND!,
locales: [
{
name: "English",
Expand All @@ -37,7 +39,7 @@ export default defineNuxtConfig({
defaultLocale: "en",
lazy: false,
langDir: "localization",
strategy: "prefix_and_default",
strategy: "prefix_except_default",
detectBrowserLanguage: {
useCookie: true,
cookieKey: "lang",
Expand Down

0 comments on commit 3a10d9b

Please sign in to comment.