1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/cors
2023-07-18 22:56:47 +01:00
..
backend remove unneeded dependencies 2023-07-18 17:42:33 +01:00
frontend use same port in Vue UI as pre-upgrade 2023-07-18 22:56:47 +01:00
README.md update vue to v3 2023-07-18 22:54:35 +01:00

Cross-Origin Resource Sharing (CORS)

Run Server

cd cors/backend
cargo run

Run Frontend

In a separate terminal, also run:

cd cors/frontend
npm install
npm run dev

then open browser at: http://localhost:8080