Renommage du .js et utilisation du localhost, en prod

This commit is contained in:
2023-11-25 09:53:06 +01:00
parent 7e36bd4971
commit ec835905e8
4 changed files with 8 additions and 3 deletions

2
.env
View File

@@ -1,5 +1,5 @@
DATABASE = wishlist DATABASE = wishlist
DATABASE_HOST = db.thecoredev.fr DATABASE_HOST = 127.0.0.1
DATABASE_PORT = 3306 DATABASE_PORT = 3306
DATABASE_USER = wishlist DATABASE_USER = wishlist
DATABASE_PASSWORD = 7/yvv9JA[RomOkLe DATABASE_PASSWORD = 7/yvv9JA[RomOkLe

5
.env.dev Normal file
View File

@@ -0,0 +1,5 @@
DATABASE = wishlist
DATABASE_HOST = db.thecoredev.fr
DATABASE_PORT = 3306
DATABASE_USER = wishlist
DATABASE_PASSWORD = 7/yvv9JA[RomOkLe

View File

@@ -2,10 +2,10 @@
"name": "wishlist", "name": "wishlist",
"version": "1.0.0", "version": "1.0.0",
"description": "test", "description": "test",
"main": "app.js", "main": "wishlist.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon app.js" "start": "nodemon wishlist.js"
}, },
"author": "Laurent LE CORRE", "author": "Laurent LE CORRE",
"license": "ISC", "license": "ISC",

View File