react-version #1

Merged
memartel_loc merged 290 commits from react-version into main 2023-11-04 09:48:15 -04:00
4 changed files with 4 additions and 3 deletions
Showing only changes of commit f38f4bf44a - Show all commits

View File

@ -15,7 +15,7 @@ builder.Services.AddCors(options => {
options.AddPolicy(name: MyAllowSpecificOrigins,
policy => {
policy.WithOrigins("http://localhost:3000",
"http://localhost:3001")
"https://localhost:3000")
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials();

View File

@ -0,0 +1 @@
HTTPS="true"

View File

@ -32,7 +32,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"startsrv": "cd ../GrossesMitainesAPI/ & dotnet run"
"startsrv": "react-scripts start & cd ../GrossesMitainesAPI/ & dotnet run"
},
"eslintConfig": {
"extends": [

View File

@ -2,7 +2,7 @@ import { useState } from "react";
import { Button } from "react-bootstrap";
const Login = () => {
const [rememberme, setPersistence] = useState(false);
const [rememberme, setPersistence] = useState(true);
const [email, setEmail] = useState("");
const [password, setPassword] = useState("");
const [returnmess, returnMessage] = useState("");