Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b4ac12582 | |||
| eb55709be5 | |||
| 446b49c9a0 | |||
| 36c309a69c | |||
| 3f55ad71cf | |||
| f8ec31ff7e | |||
| 739311928f | |||
| 78cda0fe50 |
@@ -0,0 +1,5 @@
|
|||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
patreon: krgamestudios
|
||||||
|
ko_fi: krgamestudios
|
||||||
|
custom: ["https://www.paypal.com/donate/?hosted_button_id=73Q82T2ZHV8AA"]
|
||||||
@@ -15,7 +15,7 @@ POST https://dev-auth.krgamestudios.com/auth/login HTTP/1.1
|
|||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
"email": "kayneruse@gmail.com",
|
"email": "example@example.com",
|
||||||
"password": "helloworld"
|
"password": "helloworld"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Generated
+707
-1981
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "news-server",
|
"name": "news-server",
|
||||||
"version": "1.4.1",
|
"version": "1.4.5",
|
||||||
"description": "An API centric news server. Uses Sequelize and mariaDB by default.",
|
"description": "An API centric news server. Uses Sequelize and mariaDB by default.",
|
||||||
"main": "server/server.js",
|
"main": "server/server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
const { Op } = require('sequelize');
|
const { Op } = require('sequelize');
|
||||||
const { articles, revisions } = require('../database/models');
|
const { articles, revisions } = require('../database/models');
|
||||||
const markdownIt = require('markdown-it')();
|
const markdownIt = require('markdown-it')({ html: true });
|
||||||
|
|
||||||
const route = async (req, res) => {
|
const route = async (req, res) => {
|
||||||
//get the existing record
|
//get the existing record
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const { articles } = require('../database/models');
|
const { articles } = require('../database/models');
|
||||||
const markdownIt = require('markdown-it')();
|
const markdownIt = require('markdown-it')({ html: true });
|
||||||
|
|
||||||
const route = async (req, res) => {
|
const route = async (req, res) => {
|
||||||
//check for missing data
|
//check for missing data
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ server.listen(process.env.WEB_PORT || 3100, async (err) => {
|
|||||||
await database.sync();
|
await database.sync();
|
||||||
console.log(`listening to localhost:${process.env.WEB_PORT || 3100}`);
|
console.log(`listening to localhost:${process.env.WEB_PORT || 3100}`);
|
||||||
|
|
||||||
//parse the unrendered data from the database
|
//COMPATABILITY: parse the unrendered data from the database
|
||||||
const markdownIt = require('markdown-it')();
|
const markdownIt = require('markdown-it')();
|
||||||
const { articles, revisions } = require('./database/models');
|
const { articles, revisions } = require('./database/models');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user