mirror of
https://github.com/standardnotes/app.git
synced 2026-01-16 23:01:30 +00:00
fix(desktop): commit public env config
This commit is contained in:
parent
d93e7cbcb5
commit
fef253c62f
5 changed files with 9 additions and 4 deletions
4
packages/desktop/.env.public.development
Normal file
4
packages/desktop/.env.public.development
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
PURCHASE_URL=https://website-dev.standardnotes.com/purchase
|
||||
PLANS_URL=https://website-dev.standardnotes.com/plans
|
||||
DASHBOARD_URL=https://website-dev.standardnotes.com/dashboard
|
||||
DEFAULT_SYNC_SERVER=https://api-dev.standardnotes.com
|
||||
4
packages/desktop/.env.public.production
Normal file
4
packages/desktop/.env.public.production
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
PURCHASE_URL=https://standardnotes.com/purchase
|
||||
PLANS_URL=https://standardnotes.com/plans
|
||||
DASHBOARD_URL=https://standardnotes.com/dashboard
|
||||
DEFAULT_SYNC_SERVER=https://api.standardnotes.com
|
||||
|
|
@ -1 +0,0 @@
|
|||
DEFAULT_SYNC_SERVER=https://api.standardnotes.com
|
||||
2
packages/desktop/.gitignore
vendored
2
packages/desktop/.gitignore
vendored
|
|
@ -8,8 +8,6 @@ test/data/tmp/
|
|||
.vscode
|
||||
.idea
|
||||
.env
|
||||
.env.production
|
||||
.env.development
|
||||
|
||||
codeqldb
|
||||
yarn-error.log
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
const env = process.env.NODE_ENV ?? 'production'
|
||||
require('dotenv').config({
|
||||
path: `.env.${env}`,
|
||||
path: `.env.public.${env}`,
|
||||
})
|
||||
|
||||
const path = require('path')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue