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
Implemented client upload with rangeslider and zip open
[src/app-framework-demo.git]
/
afb-client
/
app
/
Frontend
/
etc
/
ConfigApp.js
diff --git
a/afb-client/app/Frontend/services/ConfigApp.js
b/afb-client/app/Frontend/etc/ConfigApp.js
similarity index 76%
rename from
afb-client/app/Frontend/services/ConfigApp.js
rename to
afb-client/app/Frontend/etc/ConfigApp.js
index
310ef88
..
22cf220
100644
(file)
--- a/
afb-client/app/Frontend/services/ConfigApp.js
+++ b/
afb-client/app/Frontend/etc/ConfigApp.js
@@
-5,13
+5,16
@@
angular.module('ConfigApp', [])
// Factory is a singleton and share its context within all instances.
angular.module('ConfigApp', [])
// Factory is a singleton and share its context within all instances.
- .factory('ConfigApp', function () {
+ .factory('ConfigApp', function (
$location, $window
) {
+ // console.log ("URL="+ $location.url() + " Query=" + location.href+ " window=" + document.referrer);
var myConfig = {
paths: { // Warning paths should end with /
var myConfig = {
paths: { // Warning paths should end with /
- images : 'images/',
- avatars: 'images/avatars/'
+ image : 'images/',
+ avatar: 'images/avatars/',
+ audio : 'images/audio/',
+ appli : 'images/appli/'
},
api: { // Warning paths should end with /
},
api: { // Warning paths should end with /