Skip to content

Commit

Permalink
修改为以域名方式访问nav
Browse files Browse the repository at this point in the history
  • Loading branch information
YanhuiJessica committed Mar 4, 2021
1 parent 9bf37e7 commit e4c2d5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nav-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "Apache-2.0",
"scripts": {
"ng": "ng",
"start": "ng serve --host 0.0.0.0",
"start": "ng serve --host 0.0.0.0 --port 4200 --public-host attack-seaman.com",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
Expand Down
2 changes: 1 addition & 1 deletion src/nav-app/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports.config = {
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
baseUrl: 'http://attack-seaman.com:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
Expand Down
2 changes: 1 addition & 1 deletion src/nav-app/src/assets/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"domains": [
{
"name": "Enterprise",
"data": ["http://127.0.0.1:4200/assets/new.json"]
"data": ["http://attack-seaman.com:4200/assets/new.json"]
},
{
"name": "Mobile",
Expand Down

0 comments on commit e4c2d5c

Please sign in to comment.