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);
|
||||
});
|
||||
|
||||
|
@ -117,4 +117,14 @@
|
||||
<script>
|
||||
$(document).foundation();
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-56347803-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
Reference in New Issue
Block a user