From 83b719f6d2d5c995445cda1b3978e97e874d29b3 Mon Sep 17 00:00:00 2001 From: Lukian Date: Mon, 16 Sep 2024 17:50:14 +0200 Subject: [PATCH] commit --- DOCKERFILE | 2 +- libs/mysql.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCKERFILE b/DOCKERFILE index 395b4d8..329cf27 100644 --- a/DOCKERFILE +++ b/DOCKERFILE @@ -1,4 +1,4 @@ -FROM node:latest +FROM node:18 WORKDIR /app diff --git a/libs/mysql.js b/libs/mysql.js index e1d9624..a69f65f 100644 --- a/libs/mysql.js +++ b/libs/mysql.js @@ -1,4 +1,4 @@ -import * as mysql from 'mysql'; +const mysql = require("mysql"); export function getConnection() { return mysql.createConnection({