mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
import: added hash to url translation for old maps support
editor: fixed setProvider
This commit is contained in:
parent
7bf737b62b
commit
d95f51bd3b
3 changed files with 28 additions and 10 deletions
|
@ -8,7 +8,7 @@ export const pushPath = url => {
|
|||
|
||||
export const getUrlData = (url = getPath()) => {
|
||||
const [, path, mode] = url.split('/');
|
||||
const { host } = window.location;
|
||||
const { host, hash } = window.location;
|
||||
|
||||
return { path, mode, host };
|
||||
return { path, mode, host, hash };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue