diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 47ca7912..a26367a9 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 db528d78..6c5e5e95 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 @@ void TestCtrl::asyncHandleHttpRequest(const HttpRequestPtr& req, } ```
-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 daef9455..6c0c8aab 100644 --- a/lib/tests/integration_test/server/index.html +++ b/lib/tests/integration_test/server/index.html @@ -115,7 +115,7 @@ void TestCtrl::asyncHandleHttpRequest(const HttpRequestPtr& req, } ``` -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: