table
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const mariadb = require('mariadb');
|
||||
|
||||
const gameInfo = async (req, res) => {
|
||||
|
||||
|
||||
// Create a connection pool
|
||||
const pool = mariadb.createPool({
|
||||
host: process.env.MARIA_HOST,
|
||||
@@ -43,7 +43,8 @@ const pool = mariadb.createPool({
|
||||
connection.query(query2, [queryValue]),
|
||||
]);
|
||||
|
||||
const domain = 'https://domain.com/gamelink/?id=';
|
||||
// const domain = 'https://domain.com/gamelink/?id=';
|
||||
const domain = process.env.GAME_DOMAIN;
|
||||
const formattedGame1 = game_cross_varient1.map(game => ({
|
||||
...game,
|
||||
game_link: `${domain}sdfs${game.id}`,
|
||||
|
||||
Reference in New Issue
Block a user