mirror of
https://github.com/standardnotes/app
synced 2026-01-16 19:04:58 -05:00
fix(desktop): commit public env config
This commit is contained in:
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')
|
||||
|
||||
Reference in New Issue
Block a user