Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
adding NUXT_PUBLIC_* support
Browse files Browse the repository at this point in the history
  • Loading branch information
cvalaas committed May 16, 2023
1 parent 49ee431 commit c8ff477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ export default defineNuxtConfig({
apiToken: '',
},
public: {
privacyPolicyUrl: '',
privacyPolicyUrl: process.env.NUXT_PUBLIC_PRIVACY_POLICY_URL || '',
// We use LibreTranslate (https://github.com/LibreTranslate/LibreTranslate) as
// our default translation server #76
translateApi: '',
// Use the instance where Elk has its Mastodon account as the default
defaultServer: 'm.webtoo.ls',
singleInstance: false,
defaultServer: process.env.NUXT_PUBLIC_DEFAULT_SERVER || 'm.webtoo.ls',
singleInstance: process.env.NUXT_PUBLIC_SINGLE_INSTANCE || false,
},
storage: {
fsBase: 'node_modules/.cache/app',
Expand Down

0 comments on commit c8ff477

Please sign in to comment.