Move into a subdir
This commit is contained in:
parent
4fe05ec81c
commit
8725e26eaf
@ -9,7 +9,7 @@ Relies on data from [Justwatch.com](https://www.justwatch.com/).
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Just open `index.html` with your browser.
|
Just open `public/index.html` with your browser.
|
||||||
|
|
||||||
|
|
||||||
## Serve it with a web server
|
## Serve it with a web server
|
||||||
@ -27,7 +27,7 @@ server {
|
|||||||
server_name multiwatch.example.com;
|
server_name multiwatch.example.com;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /path/to/multiwatch;
|
root /path/to/multiwatch/public;
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -45,7 +45,7 @@ server {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, edit the API domain in the `index.html` to match your configuration. For
|
Then, edit the API domain in the `public/index.html` to match your configuration. For
|
||||||
the above snippet, this would result in:
|
the above snippet, this would result in:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
Loading…
Reference in New Issue
Block a user