minor: quick shortcut to serve-mesh API
This commit is contained in:
parent
70808ced7c
commit
849e2dde84
2 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,7 @@
|
|||
const ItemID = window.location.pathname.split('/')[2];
|
||||
if (window.location.pathname.slice(-6) == "/asset") {
|
||||
window.location.href = "https://api.polytoria.com/v1/assets/serve-mesh/" + ItemID
|
||||
}
|
||||
let ItemModeler = null;
|
||||
const ItemType = document.querySelector('.row .badge').innerHTML;
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
},
|
||||
|
||||
{
|
||||
"matches": ["https://polytoria.com/store/**"],
|
||||
"matches": ["https://polytoria.com/store/**", "https://polytoria.com/store/*/asset"],
|
||||
"js": ["/js/store/item-view.js"]
|
||||
},
|
||||
|
||||
|
|
|
|||
Reference in a new issue