Fix syntax highlighting

This commit is contained in:
Dávid Szabó 2021-02-18 22:26:49 +01:00 committed by GitHub
parent 5add977c71
commit e122a11c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ Now, lets add some code to handle our REST requests. Well use a mock serve
Open this working directory in your IDE and add the following code into the `server.js` file. Open this working directory in your IDE and add the following code into the `server.js` file.
```node ```js
const ronin = require( 'ronin-server' ) const ronin = require( 'ronin-server' )
const mocks = require( 'ronin-mocks' ) const mocks = require( 'ronin-mocks' )
@ -72,7 +72,7 @@ $ curl http://localhost:8000/test
Switch back to the terminal where our server is running. You should now see the following requests in the server logs. Switch back to the terminal where our server is running. You should now see the following requests in the server logs.
```node ```
2020-XX-31T16:35:08:4260 INFO: POST /test 2020-XX-31T16:35:08:4260 INFO: POST /test
2020-XX-31T16:35:21:3560 INFO: GET /test 2020-XX-31T16:35:21:3560 INFO: GET /test
``` ```