fix(desktop): commit public env config

This commit is contained in:
Mo 2022-06-16 13:38:48 -05:00
parent d93e7cbcb5
commit fef253c62f
No known key found for this signature in database
GPG key ID: 034B13B1644297E1
5 changed files with 9 additions and 4 deletions

View 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

View 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

View file

@ -1 +0,0 @@
DEFAULT_SYNC_SERVER=https://api.standardnotes.com

View file

@ -8,8 +8,6 @@ test/data/tmp/
.vscode
.idea
.env
.env.production
.env.development
codeqldb
yarn-error.log

View file

@ -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')