Add JSDoc canonical link tag; add CNAME file in root.

This commit is contained in:
Kalila L 2021-05-31 06:01:36 -04:00
parent 7ccdbdea64
commit 2a6e0f0efc
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
apidocs.vircadia.dev

View file

@ -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.