1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/cors
dependabot[bot] c648953b23
Bump vite from 4.4.4 to 4.4.12 in /cors/frontend (#672)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 01:15:02 +00:00
..
backend use rustls v0.21 2023-08-29 18:28:15 +01:00
frontend Bump vite from 4.4.4 to 4.4.12 in /cors/frontend (#672) 2023-12-06 01:15:02 +00: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