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
|
.vscode
|
||||||
.idea
|
.idea
|
||||||
.env
|
.env
|
||||||
.env.production
|
|
||||||
.env.development
|
|
||||||
|
|
||||||
codeqldb
|
codeqldb
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
const env = process.env.NODE_ENV ?? 'production'
|
const env = process.env.NODE_ENV ?? 'production'
|
||||||
require('dotenv').config({
|
require('dotenv').config({
|
||||||
path: `.env.${env}`,
|
path: `.env.public.${env}`,
|
||||||
})
|
})
|
||||||
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|||||||
Reference in New Issue
Block a user