Added CORS-Header in Go #8

Merged
Alpha merged 3 commits from 123niel/tsviewer:master into master 2019-02-07 14:02:28 +00:00
Showing only changes of commit bfba32968c - Show all commits

View file

@ -8,7 +8,7 @@ I´m a sick Fuck i like the sick F09ck
```bash
docker build -t name/cont:ver .
docker run -e TS3_IP="0.0.0.0", TS3_PW="f3gWdOU3", WEB_PORT="8080" -d -p 8080:8080 name/cont:ver
docker run -e TS3_IP="0.0.0.0" -e TS3_PW="f3gWdOU3" -e WEB_PORT="8080" -d -p 8080:8080 name/cont:ver
```
ENV:
```Docker
@ -50,7 +50,7 @@ The config file is generated automatically on first startup.
## URL-Parameter
| Name | Type | Description |
| ---------- | -------- | ------------------------ |
| ---------- | ------ | ------------------------ |
| `pretty` | `bool` | pretty-prints JSON |
| `envelope` | `bool` | wraps JSON in data array |