Merge new rendering into master #60
@@ -10,4 +10,7 @@ DB_PORT=
|
||||
API_PORT=3080
|
||||
API_ACCESS_TOKEN=
|
||||
HOMEPAGE_URL=
|
||||
JOSE_ENDPOINT=
|
||||
|
||||
#Rendering
|
||||
JOSE_ENDPOINT=
|
||||
ASSET_URL=
|
||||
@@ -93,4 +93,6 @@ app.use(PREFIX, router);
|
||||
app.use(PREFIX, groupRoutes);
|
||||
app.use(PREFIX, badgeRoutes);
|
||||
app.use(PREFIX, characterRoutes);
|
||||
app.use('/assets', express.static('assets'));
|
||||
|
||||
module.exports = app;
|
||||
|
||||
@@ -67,7 +67,7 @@ module.exports = {
|
||||
**/
|
||||
console.log(`Rendering card or character ${character.name} ${character.imageIdentifier}`);
|
||||
|
||||
let characterImage = `http://vps5.minzkraut.com:6789/cards/${character.imageIdentifier}`;
|
||||
let characterImage = `${process.env.ASSET_URL}/cards/${character.imageIdentifier}`;
|
||||
console.log("Character iomage ", characterImage);
|
||||
let job = {
|
||||
"type": "card",
|
||||
|
||||
Reference in New Issue
Block a user