Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 2cfc1c7

Browse files
committed
chore: serve from ./app (instead of project root)
Closes #244
1 parent 049a945 commit 2cfc1c7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ this server is:
7272
npm start
7373
```
7474

75-
Now browse to the app at `http://localhost:8000/app/index.html`.
75+
Now browse to the app at `http://localhost:8000/index.html`.
7676

7777

7878

e2e-tests/protractor.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exports.config = {
99
'browserName': 'chrome'
1010
},
1111

12-
baseUrl: 'http://localhost:8000/app/',
12+
baseUrl: 'http://localhost:8000/',
1313

1414
framework: 'jasmine',
1515

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"postinstall": "bower install",
2222

2323
"prestart": "npm install",
24-
"start": "http-server -a localhost -p 8000 -c-1",
24+
"start": "http-server -a localhost -p 8000 -c-1 ./app",
2525

2626
"pretest": "npm install",
2727
"test": "karma start karma.conf.js",
28-
"test-single-run": "karma start karma.conf.js --single-run",
28+
"test-single-run": "karma start karma.conf.js --single-run",
2929

3030
"preupdate-webdriver": "npm install",
3131
"update-webdriver": "webdriver-manager update",

0 commit comments

Comments
 (0)