commit
This commit is contained in:
parent
56b4fdb409
commit
83b719f6d2
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM node:latest
|
FROM node:18
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import * as mysql from 'mysql';
|
const mysql = require("mysql");
|
||||||
|
|
||||||
export function getConnection() {
|
export function getConnection() {
|
||||||
return mysql.createConnection({
|
return mysql.createConnection({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue