Merge new rendering into master #60

Merged
JanGross merged 25 commits from dev-new-rendering into master 2023-08-07 17:34:19 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 46bc9ae711 - Show all commits

View File

@@ -10,3 +10,4 @@ DB_PORT=
API_PORT=3080 API_PORT=3080
API_ACCESS_TOKEN= API_ACCESS_TOKEN=
HOMEPAGE_URL= HOMEPAGE_URL=
JOSE_ENDPOINT=

View File

@@ -1,3 +1,4 @@
require("dotenv").config();
const sharp = require('sharp'); const sharp = require('sharp');
const crypto = require('crypto'); const crypto = require('crypto');
const fs = require('fs'); const fs = require('fs');
@@ -105,7 +106,7 @@ module.exports = {
} }
console.log("Fetching ", ); console.log("Fetching ", );
let { data } = await axios.post('https://jose.toho.mnz.gg/jobs', job); let { data } = await axios.post(`${process.env.JOSE_ENDPOINT}/jobs`, job);
console.log("Fetched ", data); console.log("Fetched ", data);
return data["path"]; return data["path"];