New onboarding experience

This commit is contained in:
SillyLossy
2023-04-24 14:54:27 +03:00
parent 4b3671c5ad
commit 335d8ad440
7 changed files with 114 additions and 18 deletions

View File

@@ -267,6 +267,12 @@ app.get("/", function (request, response) {
app.get("/notes/*", function (request, response) {
response.sendFile(__dirname + "/public" + request.url + ".html");
});
app.get('/get_faq', function(_, response) {
response.sendFile(__dirname + "/faq.md");
});
app.get('/get_readme', function(_, response) {
response.sendFile(__dirname + "/readme.md");
});
//**************Kobold api
app.post("/generate", jsonParser, async function (request, response_generate = response) {