mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
monograph: fix process is not defined
This commit is contained in:
@@ -17,6 +17,11 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
export const API_HOST = process.env.API_HOST || `https://api.notesnook.com`;
|
||||
export const API_HOST =
|
||||
import.meta.env.API_HOST ||
|
||||
process.env.API_HOST ||
|
||||
`https://api.notesnook.com`;
|
||||
export const PUBLIC_URL =
|
||||
process.env.PUBLIC_URL || `http://localhost:${process.env.PORT || 5017}`;
|
||||
import.meta.env.PUBLIC_URL ||
|
||||
process.env.PUBLIC_URL ||
|
||||
`http://localhost:${import.meta.env.PORT || process.env.PORT || 5017}`;
|
||||
|
||||
Reference in New Issue
Block a user