Added CORS-Header in Go #8
1 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@ I´m a sick Fuck i like the sick F09ck
|
||||||
```bash
|
```bash
|
||||||
docker build -t name/cont:ver .
|
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:
|
ENV:
|
||||||
```Docker
|
```Docker
|
||||||
|
@ -50,7 +50,7 @@ The config file is generated automatically on first startup.
|
||||||
## URL-Parameter
|
## URL-Parameter
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| ---------- | -------- | ------------------------ |
|
| ---------- | ------ | ------------------------ |
|
||||||
| `pretty` | `bool` | pretty-prints JSON |
|
| `pretty` | `bool` | pretty-prints JSON |
|
||||||
| `envelope` | `bool` | wraps JSON in data array |
|
| `envelope` | `bool` | wraps JSON in data array |
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue