Archived
1
0

Starting move from JSON to SQL. Removed old domain

This commit is contained in:
2022-12-28 12:29:59 -06:00
parent ea8d98b940
commit 88b63a3291
6 changed files with 76 additions and 25 deletions

View File

@@ -3,6 +3,13 @@ const bodyParser = require("body-parser");
const cors = require("cors");
const fs = require("fs");
const wol = require("wol")
const mysql = require("mysql")
var con = mysql.createConnection({
host: "localhost",
user: "hpadmin",
password: "changeme"
});
try {
var links = require('../src/links.json');
@@ -14,7 +21,7 @@ try {
"links": [
{
"name": "Gitea",
"url": "https://home.halfaperture.com/gitea"
"url": "https://sean.bet/gitea"
}
]
}