1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2026-06-11 05:30:28 +08:00
This commit is contained in:
源文雨
2022-05-20 15:13:49 +08:00
parent e0a8186cb8
commit 5e67d17fb3
3 changed files with 8 additions and 4 deletions

View File

@@ -40,11 +40,11 @@ make
simple-http-server -d port folder
```
### 5. Enjoy it!
You can change token and datafile by passing env `TOKEN` & `DATFILE`.
## API
The API of CMoe is simpler than [Moe-counter](https://github.com/journey-ad/Moe-counter)
### 1. Register
`token` is defined in `cmoe.h`
```
http://yourdomain/cmoe?name=yourname&reg=token
```