Skip to content

Commit

Permalink
course selection redirect fixed for prod; also enables course selecti…
Browse files Browse the repository at this point in the history
…on js/css build (removes .hold)
  • Loading branch information
elliottyates committed Aug 19, 2016
1 parent 407ef89 commit 69b8031
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
File renamed without changes.
8 changes: 7 additions & 1 deletion js/shop.js.hold → js/shop.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
var huCourseSelection = (function (){
var currentEnvironment='prod';
var courseSelectionToolSubdomainByEnvironment = {
dev: '.dev',
qa: '.qa',
stage: '.stage',
prod: ''
};
var devProspectiveEnrolleeRoleId = '11';
var prospectiveEnrolleeRoleIdByEnvironment = {
dev: devProspectiveEnrolleeRoleId,
Expand Down Expand Up @@ -30,7 +36,7 @@ var huCourseSelection = (function (){
prod: ['68']
};

var courseSelectionToolUrl = 'https://icommons-tools.' + currentEnvironment + '.tlt.harvard.edu/course_selection/';
var courseSelectionToolUrl = 'https://icommons-tools' + courseSelectionToolSubdomainByEnvironment[currentEnvironment] + '.tlt.harvard.edu/course_selection/';
var prospectiveEnrolleeRoleId = prospectiveEnrolleeRoleIdByEnvironment[currentEnvironment];
var enrolledStudentRoleIds = enrolledStudentRoleIdsByEnvironment[currentEnvironment];
var allowed_terms = allowedTermsByEnvironment[currentEnvironment];
Expand Down

0 comments on commit 69b8031

Please sign in to comment.