What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-25 01:45:03
how to change port in react js
//in package.json "start": "react-scripts start" t0 //linux "start": "PORT=3006 react-scripts start" or "start": "export PORT=3006 react-scripts start" //windows "start": "set PO... Add solution -
Other 2022-03-22 23:20:11
No me reconoce la variable de conexión a Base de datos
function Productos(){ require_once("conexion.php"); $data = file_get_contents("productos.json"); $producto = json_decode($data, true); foreach($producto as $a){ $consulta = $conn->prepare("Insert into pr... Add solution -
Other 2022-03-21 22:45:22
api fetch post
//Obj of data to send in future like a dummyDb const data = { username: 'example' }; //POST request with body equal on data in JSON format fetch('https://example.com/profile', { method: 'POST', headers: { 'Content-Type': 'application/json', }, ... Add solution -
Javascript 2022-03-18 07:50:43
angular erro ao adicionar um projeto no firebase Failed to make request to https://www.gstatic.com/firebasejs/releases.json
//In the root, it's needs to created manually firebase.json { "hosting": { "public":"dist", //dist is local build project "redirects": [ { "source": "/api/:path*", "destinat... Add solution