style: linting change

This commit is contained in:
Ritesh Ghosh
2023-08-19 23:45:52 +05:30
parent 471c02bf3d
commit 028064ea5d
+8 -6
View File
@@ -120,11 +120,13 @@
Docker image is available at [GitHub Container Registry](https://github.com/ghoshRitesh12/aniwatch-api/pkgs/container/aniwatch).
Run the following command to pull and run the docker image.
```bash
docker pull ghcr.io/ghoshritesh12/aniwatch
docker run -p 4000:4000 ghcr.io/ghoshritesh12/aniwatch
```
Run the following commands to pull and run the docker image.
```bash
docker pull ghcr.io/ghoshritesh12/aniwatch
docker run -p 4000:4000 ghcr.io/ghoshritesh12/aniwatch
```
The above command will start the server on port 4000. You can access the server at [http://localhost:4000](http://localhost:4000) and you can also change the port by changing the `-p` option to `-p <port>:4000`.
You can also add the `-d` flag to run the container in detached mode.
@@ -725,7 +727,7 @@ http://localhost:4000/anime/episode-srcs?id={episodeId}&server={server}&category
#### Query Parameters
| Parameter | Type | Description | Required? | Default |
| :---------: | :----: | :-------------------------------------------: | :-------: | :------------: |
| :--------: | :----: | :-------------------------------------------: | :-------: | :--------------: |
| `id` | string | The id of the episode. | Yes | -- |
| `server` | string | The name of the server. | No | `"vidstreaming"` |
| `category` | string | The category of the episode ('sub' or 'dub'). | No | `"sub"` |