diff --git a/src/api/cdf/labs/routes/list.js b/src/api/cdf/labs/routes/list.js index 1bc2810..9c292b2 100644 --- a/src/api/cdf/labs/routes/list.js +++ b/src/api/cdf/labs/routes/list.js @@ -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 => { diff --git a/src/api/cdf/printers/routes/list.js b/src/api/cdf/printers/routes/list.js index a5bb1d5..0482853 100644 --- a/src/api/cdf/printers/routes/list.js +++ b/src/api/cdf/printers/routes/list.js @@ -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 => {