Add an option for changing the default API URL during the build

Merge #130 again. It was accidentally removed when we merged to Etebase.
master
Tom Hacohen 4 years ago
parent 1525738517
commit 0540c3bbbd

@ -2,7 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only // SPDX-License-Identifier: AGPL-3.0-only
export const appName = "EteSync"; export const appName = "EteSync";
export const defaultServerUrl = "https://api.etebase.com/partner/etesync/"; export const defaultServerUrl = process.env.REACT_APP_DEFAULT_API_PATH ?? "https://api.etebase.com/partner/etesync/";
export const homePage = "https://www.etesync.com/"; export const homePage = "https://www.etesync.com/";
export const faq = homePage + "faq/"; export const faq = homePage + "faq/";
export const sourceCode = "https://github.com/etesync/etesync-web"; export const sourceCode = "https://github.com/etesync/etesync-web";

Loading…
Cancel
Save