mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: space base path in web
This commit is contained in:
parent
dcb0de1b4e
commit
9e70073d96
@ -62,7 +62,7 @@ export const PublishProjectModal: React.FC<Props> = observer((props) => {
|
||||
const [isUpdateRequired, setIsUpdateRequired] = useState(false);
|
||||
|
||||
// const plane_deploy_url = instance?.config?.space_base_url || "";
|
||||
const SPACE_URL = SPACE_BASE_URL + SPACE_BASE_PATH;
|
||||
const SPACE_URL = (SPACE_BASE_URL === "" ? window.location.origin : SPACE_BASE_URL) + SPACE_BASE_PATH;
|
||||
|
||||
// router
|
||||
const router = useRouter();
|
||||
|
Loading…
Reference in New Issue
Block a user