Code Review
/
src
/
app-framework-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Handle Error Modal on upload
[src/app-framework-demo.git]
/
afm-client
/
app
/
Frontend
/
etc
/
AppConfig.js
diff --git
a/afm-client/app/Frontend/etc/AppConfig.js
b/afm-client/app/Frontend/etc/AppConfig.js
index
16a2c87
..
16c05b5
100644
(file)
--- a/
afm-client/app/Frontend/etc/AppConfig.js
+++ b/
afm-client/app/Frontend/etc/AppConfig.js
@@
-15,7
+15,8
@@
image : 'images/',
icons : 'images/icons/',
avatar: 'images/avatars/',
image : 'images/',
icons : 'images/icons/',
avatar: 'images/avatars/',
- audio : 'images/audio/'
+ audio : 'images/audio/',
+ appli : 'images/appli/'
},
myapi: { // Warning paths should end with /
},
myapi: { // Warning paths should end with /
@@
-43,7
+44,7
@@
.factory('AppCall', function ($http, AppConfig) {
var myCalls = {
get : function(plugin, action, query, callback) {
.factory('AppCall', function ($http, AppConfig) {
var myCalls = {
get : function(plugin, action, query, callback) {
- query
["token"]
= AppConfig.session.token; // add token to provided query
+ query
.token
= AppConfig.session.token; // add token to provided query
$http.get('/api/' + plugin + '/' + action , {params: query}).then (callback, callback);
}
$http.get('/api/' + plugin + '/' + action , {params: query}).then (callback, callback);
}