settings.js

define([], function() {
    /**
     * App settings module
     * @exports app/settings
     */
    var BASE_URL = 'http://localhost/form-editor-dev/public/';
    return {
        /**
         * App's base URL
         * @type {String}
         */
        baseURL: BASE_URL,
        /**
         * URl for the form editor
         * @type {String}
         */
        formEditorURL: BASE_URL + 'form-editor',
        /**
         * URL for the report
         * @type {String}
         */
        reportURL: BASE_URL + 'report',
        /**
         * The default name for the new template
         * @type {String}
         */
        defaultTemplateName: 'My Template'
    };
});