Defining vite env vars with git info

This commit is contained in:
vdv committed 2023-03-07 20:04:06 +01:00
1 parent da76e30fc4
commit 7997138c5e
2 files changed
+97 -80

No files matched your search

+2 -1
View File
@@ -157,6 +157,7 @@ const Map: Component = () => {
params: {
...params,
},
lastCommit: import.meta.env.VITE_GIT_COMMIT_HASH,
});
setState({
provider: params.provider,
@@ -290,7 +291,7 @@ const Map: Component = () => {
moveTolerance: 10,
interactions: new Collection<Interaction>([
new DragRotate(),
// new DoubleClickZoom(),
// new DoubleClickZoom(),
new DragPan(),
new PinchRotate(),
new PinchZoom(),