Defining vite env vars with git info
This commit is contained in:
1 parent
da76e30fc4
commit
7997138c5e
2 files changed
+97
-80
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user