mirror of
https://github.com/atlanticbiomedical/website.git
synced 2025-07-01 18:07:27 -04:00
Fix stuff and add analytics
This commit is contained in:
@ -118,12 +118,12 @@ function startExpress() {
|
||||
*/
|
||||
|
||||
app.all('/api/*', function(req, res) {
|
||||
var url = 'http://new.atlb.co/' + req.url;
|
||||
var url = 'http://atlanticbiomedical.com/' + req.url;
|
||||
req.pipe(request(url)).pipe(res);
|
||||
});
|
||||
|
||||
app.all('/images/*', function(req, res) {
|
||||
var url = 'http://new.atlb.co/' + req.url;
|
||||
var url = 'http://atlanticbiomedical.com/' + req.url;
|
||||
req.pipe(request(url)).pipe(res);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user