mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 13:12:39 +02:00
Add JSDoc canonical link tag; add CNAME file in root.
This commit is contained in:
parent
7ccdbdea64
commit
2a6e0f0efc
2 changed files with 7 additions and 0 deletions
1
tools/jsdoc/hifi-jsdoc-template/static/CNAME
Normal file
1
tools/jsdoc/hifi-jsdoc-template/static/CNAME
Normal file
|
@ -0,0 +1 @@
|
|||
apidocs.vircadia.dev
|
|
@ -33,6 +33,12 @@
|
|||
}
|
||||
</style>
|
||||
<script>
|
||||
var headID = document.getElementsByTagName('head')[0];
|
||||
var link = document.createElement('link');
|
||||
link.rel = 'canonical';
|
||||
link.href = window.location.href;
|
||||
headID.appendChild(link);
|
||||
|
||||
//We are running the check here to preload the theme because it may load the incorrect one first for a split second.
|
||||
var isLocalStorageSupported = false;
|
||||
try { // Edge browsing files on local file system doesn't support localStorage.
|
||||
|
|
Loading…
Reference in a new issue