mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
File upload + Rest API
This commit is contained in:
2
react-app/build/helloworld.js
vendored
2
react-app/build/helloworld.js
vendored
@@ -2,7 +2,7 @@ var CommentBox = React.createClass({
|
||||
displayName: 'CommentBox',
|
||||
|
||||
getInitialState: function () {
|
||||
return { accept: 'image/*', action: 'target.php', droppable: '' };
|
||||
return { accept: 'image/*', action: 'http://192.168.99.100:8080/alfresco/service/api/upload', droppable: '' };
|
||||
},
|
||||
|
||||
onChangeAccept: function (e) {
|
||||
|
Reference in New Issue
Block a user