Skip to content

Commit efb3ee5

Browse files
authored
Update README.md
Used full  
1 parent 004b5f3 commit efb3ee5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Scripts built into [`package.json`](package.json):
1919

2020
| Command | Description
2121
|---------------|-------------------
22-
|`npm run start`| Will run both `npm run lift` and `npm run open:client` in parallel.
23-
|`npm run open:client` | Will run the [Webpack Dev Server](https://webpack.js.org/configuration/dev-server/) and open a browser tab / window.
24-
|`npm run lift` | The same thing as `sails lift` or `node app.js`; will "[lift our Sails](https://sailsjs.com/documentation/reference/command-line-interface/sails-lift)" instance.
25-
|`npm run debug` | Alias for `node --inspect app.js`.
26-
|`npm run build` | Will run `npm run clean`, then will build production-ready files with Webpack in the `.tmp/public` folder.
27-
|`npm run build:dev` | Same thing as `npm run build`, except that it will not optimize the files, retaining newlines and empty spaces.
28-
|`npm run clean` | Will basically delete everything in the `.tmp` folder.
29-
|`npm run lines` | Will count the lines of code in the project, minus `.gitignore`'d files, for funzies.
22+
|npm run start| Will run both `npm run lift` and `npm run open:client` in parallel.
23+
|npm run open:client | Will run the [Webpack Dev Server](https://webpack.js.org/configuration/dev-server/) and open a browser tab / window.
24+
|npm run lift | The same thing as `sails lift` or `node app.js`; will "[lift our Sails](https://sailsjs.com/documentation/reference/command-line-interface/sails-lift)" instance.
25+
|npm run debug | Alias for `node --inspect app.js`.
26+
|npm run build | Will run `npm run clean`, then will build production-ready files with Webpack in the `.tmp/public` folder.
27+
|npm run build:dev | Same thing as `npm run build`, except that it will not optimize the files, retaining newlines and empty spaces.
28+
|npm run clean | Will basically delete everything in the `.tmp` folder.
29+
|npm run lines | Will count the lines of code in the project, minus `.gitignore`'d files, for funzies.
3030

3131
## Request Logging
3232
Automatic incoming request logging, is a 2 part process. First, the [`request-logger` hook](api/hooks/request-logger.js) gathers info from the quest, and creates a new [`RequestLog` record](api/models/RequestLog.js), making sure to mask anything that may be sensitive, such as passwords. Then, a custom response gathers information from the response, again, scrubbing sensitive data (using the [customToJSON](https://sailsjs.com/documentation/concepts/models-and-orm/model-settings?identity=#customtojson) feature of Sails models) to prevent leaking of password hashes, or anything else that should never be publicly accessible. The [`keepModelsSafe` helper](api/helpers/keep-models-safe.js) and the custom responses (such as [ok](api/responses/ok.js) or [serverError](api/responses/serverError.js)) are responsible for the final leg of request logs.

0 commit comments

Comments
 (0)