Skip to content

Commit 2645fb4

Browse files
authored
Demos: replace endpoints url where it possible
1 parent 64a53ba commit 2645fb4

File tree

108 files changed

+133
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+133
-131
lines changed

apps/demos/Demos/Autocomplete/Overview/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class AppComponent {
6767
params = params.set(option, JSON.stringify(loadOptions[option]));
6868
}
6969
});
70-
return lastValueFrom(httpClient.get('https://js.devexpress.com/Demos/Mvc/api/DataGridWebApi/CustomersLookup', { params }))
70+
return lastValueFrom(httpClient.get('https://js.devexpress.com/Demos/NetCore/api/DataGridWebApi/CustomersLookup', { params }))
7171
.then(({ data }: { data: Record<string, unknown>[] }) => ({
7272
data,
7373
}))

apps/demos/Demos/Autocomplete/Overview/React/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const clientsStore = new CustomStore({
3030
}
3131
});
3232
params = params.slice(0, -1);
33-
return fetch(`https://js.devexpress.com/Demos/Mvc/api/DataGridWebApi/CustomersLookup${params}`)
33+
return fetch(`https://js.devexpress.com/Demos/NetCore/api/DataGridWebApi/CustomersLookup${params}`)
3434
.then((response) => response.json())
3535
.then((data) => ({
3636
data: data.data,

apps/demos/Demos/Autocomplete/Overview/ReactJs/App.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const clientsStore = new CustomStore({
2727
}
2828
});
2929
params = params.slice(0, -1);
30-
return fetch(`https://js.devexpress.com/Demos/Mvc/api/DataGridWebApi/CustomersLookup${params}`)
30+
return fetch(
31+
`https://js.devexpress.com/Demos/NetCore/api/DataGridWebApi/CustomersLookup${params}`,
32+
)
3133
.then((response) => response.json())
3234
.then((data) => ({
3335
data: data.data,

apps/demos/Demos/Autocomplete/Overview/Vue/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const clientsCustomStore = new CustomStore({
126126
}
127127
});
128128
params = params.slice(0, -1);
129-
return fetch(`https://js.devexpress.com/Demos/Mvc/api/DataGridWebApi/CustomersLookup${params}`)
129+
return fetch(`https://js.devexpress.com/Demos/NetCore/api/DataGridWebApi/CustomersLookup${params}`)
130130
.then((response) => response.json())
131131
.then((data) => ({
132132
data: data.data,

apps/demos/Demos/Autocomplete/Overview/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ $(() => {
6868
});
6969

7070
$.ajax({
71-
url: 'https://js.devexpress.com/Demos/Mvc/api/DataGridWebApi/CustomersLookup',
71+
url: 'https://js.devexpress.com/Demos/NetCore/api/DataGridWebApi/CustomersLookup',
7272
dataType: 'json',
7373
data: args,
7474
success(result) {

apps/demos/Demos/DataGrid/AdvancedMasterDetailView/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (window && window.config?.packageConfigPaths) {
2424
styleUrls: [`.${modulePrefix}/app.component.css`],
2525
})
2626
export class AppComponent {
27-
url = 'https://js.devexpress.com/Demos/Mvc/api/DataGridAdvancedMasterDetailView';
27+
url = 'https://js.devexpress.com/Demos/NetCore/api/DataGridAdvancedMasterDetailView';
2828

2929
suppliersData: DataSource;
3030

apps/demos/Demos/DataGrid/AdvancedMasterDetailView/Angular/app/detail-view/detail-view.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class DetailViewComponent implements AfterViewInit {
3030
orderHistoryData: DataSource;
3131

3232
constructor() {
33-
this.url = 'https://js.devexpress.com/Demos/Mvc/api/DataGridAdvancedMasterDetailView';
33+
this.url = 'https://js.devexpress.com/Demos/NetCore/api/DataGridAdvancedMasterDetailView';
3434
}
3535

3636
ngAfterViewInit() {

apps/demos/Demos/DataGrid/AdvancedMasterDetailView/React/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import { createStore } from 'devextreme-aspnet-data-nojquery';
77
import MasterDetailView from './MasterDetailView.tsx';
88

9-
const url = 'https://js.devexpress.com/Demos/Mvc/api/DataGridAdvancedMasterDetailView';
9+
const url = 'https://js.devexpress.com/Demos/NetCore/api/DataGridAdvancedMasterDetailView';
1010

1111
const suppliersData = createStore({
1212
key: 'SupplierID',

apps/demos/Demos/DataGrid/AdvancedMasterDetailView/React/OrderHistory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from 'devextreme-react/data-grid';
66
import { createStore } from 'devextreme-aspnet-data-nojquery';
77

8-
const url = 'https://js.devexpress.com/Demos/Mvc/api/DataGridAdvancedMasterDetailView';
8+
const url = 'https://js.devexpress.com/Demos/NetCore/api/DataGridAdvancedMasterDetailView';
99

1010
interface OrderHistoryProps {
1111
productId: any;

apps/demos/Demos/DataGrid/AdvancedMasterDetailView/React/ProductSelectBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useState } from 'react';
22
import { SelectBox, SelectBoxTypes } from 'devextreme-react/select-box';
33
import { createStore } from 'devextreme-aspnet-data-nojquery';
44

5-
const url = 'https://js.devexpress.com/Demos/Mvc/api/DataGridAdvancedMasterDetailView';
5+
const url = 'https://js.devexpress.com/Demos/NetCore/api/DataGridAdvancedMasterDetailView';
66
const productLabel = { 'aria-label': 'Product' };
77

88
interface ProductSelectBoxProps {

0 commit comments

Comments
 (0)