Add source code link with git hash, plus modification dates
This commit is contained in:
parent
acad9c5944
commit
fb667871b4
4 changed files with 30 additions and 4 deletions
5
main.js
5
main.js
|
|
@ -155,3 +155,8 @@ map.on('click', function (evt) {
|
|||
new ResizeObserver(() => map.updateSize()).observe(document.getElementById("map"));
|
||||
|
||||
window.map = map;
|
||||
|
||||
document.getElementById('source').innerHTML = `<a href="https://git.chandlerswift.com/chandlerswift/maps.chandlerswift.com/commit/${import.meta.env.VITE_GIT_COMMIT_HASH}">Source code</a>
|
||||
<!--
|
||||
${import.meta.env.VITE_FILE_DATES}
|
||||
-->`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue