1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/cors
2023-08-29 18:28:15 +01:00
..
backend use rustls v0.21 2023-08-29 18:28:15 +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