mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-26 03:51:34 +00:00
11 lines
393 B
JavaScript
11 lines
393 B
JavaScript
|
/*
|
||
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||
|
*
|
||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||
|
*/
|
||
|
|
||
|
if (!process.env.REACT_APP_BACKEND_BASE_URL) {
|
||
|
console.error("==============\nREACT_APP_BACKEND_BASE_URL not set.\n Use this task only if you want to create a production build with a real backend. Otherwise use build:mock\n==============");
|
||
|
process.exit(1);
|
||
|
}
|