From 580bf082f1e2e3c4db56f892ab10f280b5d4cbfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Tue, 8 Jun 2021 19:31:43 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1e20527..45babf9 100644 --- a/README.md +++ b/README.md @@ -33,22 +33,22 @@ cmake .. make make install ``` -### Copy files to web root +### 4. Copy files to web root 1. Copy `favicon.ico`, `index.html`, `style.css` and the compiled binary `cmoe` into the same folder. 2. Run `simple-http-server` by the command ```bash simple-http-server -d port folder ``` -### Enjoy it! +### 5. Enjoy it! ## API The API of CMoe is simpler than [Moe-counter](https://github.com/journey-ad/Moe-counter) -### Register +### 1. Register `token` is defined in `cmoe.h` ``` http://yourdomain/cmoe?name=yourname®=token ``` -### Refer +### 2. Refer ``` http://yourdomain/cmoe?name=yourname(&theme=mb/mbh/gb/gbh/r34) ```