From 6726df139d6b7cee980676ef6b671049252461d1 Mon Sep 17 00:00:00 2001 From: Martin Chang Date: Sun, 26 May 2024 14:08:18 +0800 Subject: [PATCH] fix codespell error (#2038) --- .github/workflows/codespell.yml | 2 +- lib/tests/integration_test/server/a-directory/page.html | 2 +- lib/tests/integration_test/server/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 47ca791248..a26367a944 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -12,4 +12,4 @@ jobs: steps: - uses: actions/checkout@v4 - run: pip install --user codespell[toml] - - run: codespell --ignore-words-list="coo,folx,ot,statics,xwindows" --skip="*.csp" + - run: codespell --ignore-words-list="coo,folx,ot,statics,xwindows,NotIn," --skip="*.csp" diff --git a/lib/tests/integration_test/server/a-directory/page.html b/lib/tests/integration_test/server/a-directory/page.html index db528d78e9..6c5e5e955e 100644 --- a/lib/tests/integration_test/server/a-directory/page.html +++ b/lib/tests/integration_test/server/a-directory/page.html @@ -115,7 +115,7 @@

A very simple example

} ```

-

Most of the above programs can be automatically generated by the command line tool drogon_ctl provided by drogon (The cammand is drogon_ctl create controller TestCtrl). All the user needs to do is add their own business logic. In the example, the controller returns a Hello, world! string when the client accesses the http://ip/test URL.

+

Most of the above programs can be automatically generated by the command line tool drogon_ctl provided by drogon (The command is drogon_ctl create controller TestCtrl). All the user needs to do is add their own business logic. In the example, the controller returns a Hello, world! string when the client accesses the http://ip/test URL.

For JSON format response, we create the controller as follows:

diff --git a/lib/tests/integration_test/server/index.html b/lib/tests/integration_test/server/index.html index daef9455fb..6c0c8aabc8 100644 --- a/lib/tests/integration_test/server/index.html +++ b/lib/tests/integration_test/server/index.html @@ -115,7 +115,7 @@

A very simple example

} ```

-

Most of the above programs can be automatically generated by the command line tool drogon_ctl provided by drogon (The cammand is drogon_ctl create controller TestCtrl). All the user needs to do is add their own business logic. In the example, the controller returns a Hello, world! string when the client accesses the http://ip/test URL.

+

Most of the above programs can be automatically generated by the command line tool drogon_ctl provided by drogon (The command is drogon_ctl create controller TestCtrl). All the user needs to do is add their own business logic. In the example, the controller returns a Hello, world! string when the client accesses the http://ip/test URL.

For JSON format response, we create the controller as follows: