index to server because deployment needs it I guess
This commit is contained in:
parent
53f7fa28ff
commit
8a5afe38cd
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
index.js
|
server.js
|
||||||
docs/
|
docs/
|
||||||
gh-pages.js
|
gh-pages.js
|
||||||
.github/
|
.github/
|
|
@ -10,8 +10,8 @@
|
||||||
"xivapi"
|
"xivapi"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node server.js",
|
||||||
"dev": "nodemon index.js",
|
"dev": "nodemon server.js",
|
||||||
"docs:generate": "jsdoc create-card.js -d docs -R readme.md",
|
"docs:generate": "jsdoc create-card.js -d docs -R readme.md",
|
||||||
"docs:deploy": "npm run docs:generate && node gh-pages.js"
|
"docs:deploy": "npm run docs:generate && node gh-pages.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -49,7 +49,7 @@ You can then instantiate the class `CardCreator` from the library, call the asyn
|
||||||
|
|
||||||
Check the [library documentation](https://xivapi.github.io/XIV-Character-Cards/) for more details.
|
Check the [library documentation](https://xivapi.github.io/XIV-Character-Cards/) for more details.
|
||||||
|
|
||||||
> **Note:** The API server is not published as an NPM package, so if you want to host it yourself, clone the [Github repository](https://github.com/xivapi/XIV-Character-Cards) and put the Express.JS webserver defined in the `index.js` file behind a reverse proxy.
|
> **Note:** The API server is not published as an NPM package, so if you want to host it yourself, clone the [Github repository](https://github.com/xivapi/XIV-Character-Cards) and put the Express.JS webserver defined in the `server.js` file behind a reverse proxy.
|
||||||
|
|
||||||
### Library example
|
### Library example
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue