debug false

This commit is contained in:
txz 2016-05-19 15:21:25 +08:00
parent e2f3ba8e7d
commit 66042cb3c9
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
var app = angular.module('wechat', ['ngRoute','ngCookies']); var app = angular.module('wechat', ['ngRoute','ngCookies']);
var apiUrl = '/api/v1/'; var apiUrl = '/api/v1/';
var debug = true; //调试标志,如果在本地请置为true var debug = false; //调试标志,如果在本地请置为true
if(debug===true){ if(debug===true){
apiUrl = 'http://localhost:3000/api/v1/'; //apiUrl = 'http://localhost:3000/api/v1/';
//apiUrl = 'https://www.trustie.net/api/v1/'; apiUrl = 'https://www.trustie.net/api/v1/';
} }
app.factory('auth', function($http,$routeParams, $cookies, $q){ app.factory('auth', function($http,$routeParams, $cookies, $q){