1
0
mirror of https://github.com/actix/examples synced 2024-12-03 18:22:14 +01:00
examples/cors
2023-04-06 11:11:44 +01:00
..
backend doc: add README.md into cors/backend (#618) 2023-04-06 11:11:44 +01:00
frontend fix cors example 2022-03-15 17:32:27 +00:00
README.md doc: add README.md into cors/backend (#618) 2023-04-06 11:11:44 +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 serve

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