Archived
0

Изменение внутреннего строения веб апи

This commit is contained in:
2017-03-18 17:25:25 +03:00
parent 196eea61b6
commit 6ec5431a4f
12 changed files with 228 additions and 235 deletions

View File

@@ -34,7 +34,7 @@ var BundleTableRow = React.createClass({
},
bndUpd: function() {
var _this = this;
fetch('/ajax/bundles.json?id='+this.props.id+'&act=upd')
fetch('/modules/ajax/bundles.json?id='+this.props.id+'&act=upd')
.then(function(resp){
resp.json().then(function(data){
_this.setState({
@@ -74,7 +74,7 @@ var ContentModule = React.createClass({
}},
requestBundleList: function() {
var _this = this;
fetch('/ajax/bundles.json')
fetch('/modules/ajax/bundles.json')
.then(function(response){
response.json().then(function(data){
console.debug(data);