diff options
Diffstat (limited to 'js/config/config.js')
-rw-r--r-- | js/config/config.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/js/config/config.js b/js/config/config.js new file mode 100644 index 000000000..dce40a0b4 --- /dev/null +++ b/js/config/config.js @@ -0,0 +1,17 @@ +/** + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Bernhard Posselt <dev@bernhard-posselt.com> + * @copyright Bernhard Posselt 2012, 2014 + */ +app.config(function ($routeProvider, $provide) { + 'use strict'; + + $routeProvider.otherwise('/'); + $provide.constant('baseUrl', OC.generateUrl('')); + +}); + |