Skip to content

Commit

Permalink
支持新域名
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed May 26, 2014
1 parent 0347ed5 commit 0ccab08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions app/scripts/services/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,8 @@ angular.module('toHELL')
}

return {
apiHost: isBeta
? 'http://10.2.254.48/ProtoShop/'
: 'http://10.2.254.48/ProtoShop/',
pkgDir: isBeta
? 'http://10.2.254.48/packages/'
: 'http://10.2.254.48/packages/',
apiHost: isBeta ? 'http://10.2.254.48/ProtoShop/' : 'http://api.protoshop.io/ProtoShop/',
pkgDir: isBeta ? 'http://10.2.254.48/packages/' : 'http://protoshop.io/packages/',
errLogger: errLogger,

/**
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function sh(commands) {

function distribution(tar) {
var targets = {
prod: '[email protected]:/usr/local/httpd/htdocs/tohell/html/',
prod: '[email protected]:/var/www/ProtoShop/html/',
beta: '[email protected]:/usr/local/httpd/htdocs/beta/html/',
ctqa: '[email protected]:/var/www/ProtoShop/html/'
};
Expand Down

0 comments on commit 0ccab08

Please sign in to comment.