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