Actualizar server.js
This commit is contained in:
@@ -3,6 +3,7 @@ import cors from "cors";
|
|||||||
import bcrypt from "bcryptjs";
|
import bcrypt from "bcryptjs";
|
||||||
import jwt from "jsonwebtoken";
|
import jwt from "jsonwebtoken";
|
||||||
import pg from "pg";
|
import pg from "pg";
|
||||||
|
import crypto from "crypto"; // <--- AÑADE ESTA LÍNEA EXACTAMENTE ASÍ
|
||||||
|
|
||||||
const { Pool } = pg;
|
const { Pool } = pg;
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|||||||
Reference in New Issue
Block a user