Commit 118e6ae 1 parent 83126ab commit 118e6ae Copy full SHA for 118e6ae
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 294
294
<h3 >Share Link</h3 >
295
295
<code id =" share-link-block" ></code >
296
296
<br />
297
- <a class =" btn btn-primary" href =" {{ url_for('token', token=token) }}" role =" button" id =" btnShareLink" >Copy
297
+ <a class =" btn btn-primary" href =" {{ url_for('main. token', token=token) }}" role =" button" id =" btnShareLink" >Copy
298
298
link to clipboard</a >
299
299
{% endif %}
300
300
<script >
304
304
).innerHTML = ` from zndraw import ZnDraw <br >vis = ZnDraw(url="${ window .location .href } ", token="{{ token }}")` ;
305
305
// url but without trailing slash
306
306
const url = window .location .href .replace (/ \/ $ / , " " );
307
- const target_href = " {{ url_for('token', token=token) }}" ;
307
+ const target_href = " {{ url_for('main. token', token=token) }}" ;
308
308
const full_url = url + target_href;
309
309
310
310
document .getElementById (" share-link-block" ).innerHTML = full_url;
You can’t perform that action at this time.
0 commit comments