Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating to new service endpoints of VEDA #2617

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/src/components/map/MapOverlay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export default {
margin-left: -10px;
margin-bottom: -10px;
}`;
this.$parent.$refs.mapContainer.shadowRoot.appendChild(style);
if ('mapContainer' in this.$parent.$refs && this.$parent.$refs.mapContainer.shadowRoot) {
this.$parent.$refs.mapContainer.shadowRoot.appendChild(style);
}
},
methods: {},
beforeDestroy() {
Expand Down
2 changes: 1 addition & 1 deletion app/src/helpers/customAreaObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export const nasaStatisticsConfig = (
rescale = (value) => value / 1e14,
indicatorCode = 'NASACustomLineChart',
) => ({
url: 'https://staging-raster.delta-backend.com/cog/statistics',
url: 'https://openveda.cloud/api/raster/cog/statistics',
requestMethod: 'POST',
requestHeaders: {
'Content-Type': 'application/json',
Expand Down
Loading