Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #83 from cobalt-uoft/fix/cdf-urls
Browse files Browse the repository at this point in the history
Update CS Teaching Lab routes
  • Loading branch information
qasim authored Sep 25, 2016
2 parents e548274 + 33c1bb0 commit 3a43539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/api/cdf/labs/routes/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import http from 'http'

export default function list(req, res, next) {
let options = {
host: req.query.host || 'www.cdf.toronto.edu',
host: req.query.host || 'www.teach.cs.toronto.edu',
port: req.query.port || 80,
path: req.query.path || '/~g3cheunh/cdflabs.json'
path: req.query.path || '/~cheun550/cdflabs.json'
}

http.get(options, response => {
Expand Down
4 changes: 2 additions & 2 deletions src/api/cdf/printers/routes/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import http from 'http'

export default function list(req, res, next) {
let options = {
host: req.query.host || 'www.cdf.toronto.edu',
host: req.query.host || 'www.teach.cs.toronto.edu',
port: req.query.port || 80,
path: req.query.path || '/~g3cheunh/cdfprinters.json'
path: req.query.path || '/~cheun550/cdfprinters.json'
}

http.get(options, response => {
Expand Down

0 comments on commit 3a43539

Please sign in to comment.