diff --git a/admin/src/client/System/System.js b/admin/src/client/System/System.js
index 1dafa2a..52f7e8c 100644
--- a/admin/src/client/System/System.js
+++ b/admin/src/client/System/System.js
@@ -33,11 +33,6 @@ function planName(planType) {
}
}
-var backend_server =
- process.env["BACKEND_SERVER"] != null
- ? process.env["BACKEND_SERVER"]
- : "https://api.openmhz.com";
-
class System extends Component {
constructor(props) {
super(props);
diff --git a/frontend/src/client/Main/Main.js b/frontend/src/client/Main/Main.js
index b2d757a..52dc524 100644
--- a/frontend/src/client/Main/Main.js
+++ b/frontend/src/client/Main/Main.js
@@ -53,8 +53,6 @@ const HomepageHeading = ({ mobile }) => (
)
-var site_name = process.env['SITE_NAME'] != null ? process.env['SITE_NAME'] : "OpenMHz";
-
/*
HomepageHeading.propTypes = {
mobile: PropTypes.bool,
diff --git a/frontend/src/server/index.js b/frontend/src/server/index.js
index a134b60..da527d0 100644
--- a/frontend/src/server/index.js
+++ b/frontend/src/server/index.js
@@ -71,6 +71,7 @@ app.get("*", (req, res, next) => {
const freePlanValue = ${freePlanValue};
const proPlanArchive = ${proPlanArchive};
const freePlanArchive = ${freePlanArchive};
+ const site_name = "${site_name}";