From 480d5eefd6079c74c8bf8a96df7a0c659b7a3baa Mon Sep 17 00:00:00 2001 From: srgooglo Date: Sat, 3 Sep 2022 03:46:44 +0200 Subject: [PATCH] index move to `mainPath` --- packages/app/src/pages/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/app/src/pages/index.jsx b/packages/app/src/pages/index.jsx index e4e5a2f6..80b51fc4 100644 --- a/packages/app/src/pages/index.jsx +++ b/packages/app/src/pages/index.jsx @@ -1,5 +1,7 @@ import React from "react" +import config from "config" export default (props) => { - return window.app.setLocation("/main") + window.app.setLocation(config.app?.mainPath ?? "/home") + return
} \ No newline at end of file