mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2026-06-11 05:30:28 +08:00
add env
This commit is contained in:
@@ -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®=token
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user