index to server because deployment needs it I guess

This commit is contained in:
ArcaneDisgea 2022-10-17 18:18:32 -04:00
parent 53f7fa28ff
commit 8a5afe38cd
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
index.js
server.js
docs/
gh-pages.js
.github/

View file

@ -10,8 +10,8 @@
"xivapi"
],
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"start": "node server.js",
"dev": "nodemon server.js",
"docs:generate": "jsdoc create-card.js -d docs -R readme.md",
"docs:deploy": "npm run docs:generate && node gh-pages.js"
},

View file

@ -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.
> **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

View file