From a7ccf2688f90f28754b8c61fa0b712d6465d2796 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Thu, 2 Nov 2017 15:47:14 +0530 Subject: HTTP - Axios integrated --- src/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index f29efc1..68c959b 100644 --- a/src/index.js +++ b/src/index.js @@ -1,12 +1,17 @@ import Backbone from 'backbone'; import TestView from './view'; import _ from 'underscore'; +import Http from './http'; Backbone.history.start(); class Index { constructor() { - new TestView(); + Http.config = { + baseURL: 'http://demo1393194.mockable.io/' + }; + new TestView(); //MainView + } } -- cgit v1.2.3