1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/cors
2022-03-06 00:43:10 +00:00
..
backend reduce futures dep 2022-03-06 00:15:19 +00:00
frontend restructure folders 2022-02-18 02:01:48 +00:00
README.md format markdown 2022-03-06 00:43:10 +00: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