From 6a2571ea82d4b2aa7d2012a8e75907bfd392be0e Mon Sep 17 00:00:00 2001 From: MarioRadu Date: Fri, 3 May 2024 12:11:03 +0300 Subject: [PATCH] documentation linting fix --- README.md | 2 +- docs/book/v4/introduction/installation.md | 2 +- docs/book/v4/tutorials/create-book-module.md | 2 +- documentation/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b925fbc..f82fd80 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ More details on how fixtures work can be found here: https://github.com/dotkerne php -S 0.0.0.0:8080 -t public -Sending a GET request to the [home page](http://localhost:8080/) should output the following message: +Sending a GET request to the [home page](http://0.0.0.0:8080/) should output the following message: { "message": "Welcome to DotKernel API!" diff --git a/docs/book/v4/introduction/installation.md b/docs/book/v4/introduction/installation.md index c395411..2e11b81 100644 --- a/docs/book/v4/introduction/installation.md +++ b/docs/book/v4/introduction/installation.md @@ -66,7 +66,7 @@ More details on how fixtures work can be found here: https://github.com/dotkerne php -S 0.0.0.0:8080 -t public -Sending a GET request to the [home page](http://localhost:8080/) should output the following message: +Sending a GET request to the [home page](http://0.0.0.0:8080/) should output the following message: { "message": "Welcome to DotKernel API!" diff --git a/docs/book/v4/tutorials/create-book-module.md b/docs/book/v4/tutorials/create-book-module.md index 4dca277..2698b82 100644 --- a/docs/book/v4/tutorials/create-book-module.md +++ b/docs/book/v4/tutorials/create-book-module.md @@ -595,7 +595,7 @@ To execute the migrations run: ## Checking endpoints -If we did everything as planned we can call the `http://localhost/books` endpoint and create a new book: +If we did everything as planned we can call the `http://0.0.0.0:8080/books` endpoint and create a new book: curl -X POST http://0.0.0.0:8080/book -H "Content-Type: application/json" diff --git a/documentation/README.md b/documentation/README.md index cbb02ed..0f6968c 100644 --- a/documentation/README.md +++ b/documentation/README.md @@ -17,7 +17,7 @@ At this point, we assume you already have Postman installed. The following steps You should see a new collection (`DotKernel_API`) added to your collection list, containing the documentation of all DotKernel API endpoints. Also, you should see a new environment (`DotKernel_API`) added to your environments. -This contains a variable, called `APPLICATION_URL` set to `http://localhost:8080`. +This contains a variable, called `APPLICATION_URL` set to `http://0.0.0.0:8080`. If your application runs on a different URL/port, modify this variable accordingly. ## Usage