feat: add sync-url script
This commit is contained in:
parent
1a682409a8
commit
34d9d3960a
2 changed files with 5 additions and 0 deletions
3
static/js/sync-url.js
Normal file
3
static/js/sync-url.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
window.parent.postMessage({
|
||||
url: window.location.pathname,
|
||||
}, "*");
|
||||
|
|
@ -7,6 +7,8 @@
|
|||
<title>{{title}}</title>
|
||||
|
||||
<link rel="stylesheet" href="/css/armory.css">
|
||||
|
||||
<script type="application/javascript" src="/js/sync-url.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue