|
1 | 1 | /*global module:false*/ |
| 2 | +/** |
| 3 | + * Copyright (C) 2015 TopCoder Inc., All Rights Reserved. |
| 4 | + * @author TCSASSEMBLER |
| 5 | + * @version 1.1 |
| 6 | + * |
| 7 | + * Changed in 1.1 (topcoder new community site - Removal proxied API calls) |
| 8 | + * Removed LC related constants |
| 9 | + */ |
2 | 10 | module.exports = function(grunt) { |
3 | 11 | // Load grunt libraries from package.json |
4 | 12 | require('load-grunt-tasks')(grunt); |
@@ -32,24 +40,21 @@ module.exports = function(grunt) { |
32 | 40 | auth0URL: grunt.option('auth-main-url') || 'topcoder.auth0.com', |
33 | 41 | mainURL: grunt.option('main-url') || 'http://local.topcoder.com', |
34 | 42 | apiURL: grunt.option('api-url') || 'https://api.topcoder.com/v2', |
| 43 | + api3URL: grunt.option('api3-url') || 'https://api.topcoder.com/v3', |
35 | 44 | cdnURL: grunt.option('cdn-url') || '/mf', |
36 | 45 | useVer: grunt.option('use-ver') || false, |
37 | 46 | version: grunt.option('cdn-version') || '', |
38 | 47 | communityURL: grunt.option('community-url') || '//community.topcoder.com', |
39 | 48 | reviewAppURL: grunt.option('review-app-url') || 'software.topcoder.com/review', |
40 | 49 | helpAppURL: grunt.option('help-app-url') || 'help.topcoder.com', |
41 | | - forumsAppURL: grunt.option('review-app-url') || 'forums.topcoder.com', |
| 50 | + forumsAppURL: grunt.option('forums-app-url') || 'forums.topcoder.com', |
| 51 | + swiftProgramId: grunt.option('swift-program-id') || 3445, |
42 | 52 |
|
43 | 53 | // only used on wp setup |
44 | 54 | useGz: grunt.option('use-gz') || false, |
45 | 55 | useMin: grunt.option('use-min') || false, |
46 | 56 | useCND: grunt.option('use-cdn') || false, |
47 | | - |
48 | 57 |
|
49 | | - lcURL: grunt.option('lc-url') || '//prod-lc1-ext-challenge-service.herokuapp.com', |
50 | | - lcDiscussionURL: grunt.option('lc-discussion-url') || '//prod-lc1-discussion-service.herokuapp.com', |
51 | | - lcUserURL: grunt.option('lc-user-url') || '//prod-lc1-user-service.herokuapp.com', |
52 | | - lcSiteUrl: grunt.option('lc-site-url') || '//beta.topcoder.com', |
53 | 58 | myFiltersURL: grunt.option('my-filters-url') || '//lc1-user-settings-service.herokuapp.com', |
54 | 59 | cbURL: grunt.option('cb-url') || 'https://coderbits.com', |
55 | 60 |
|
|
0 commit comments