1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 16:02:59 +01:00
actix-extras/examples/web-cors
2018-01-26 19:52:20 -08:00
..
backend rename cors example 2018-01-26 19:52:20 -08:00
frontend rename cors example 2018-01-26 19:52:20 -08:00
README.md rename cors example 2018-01-26 19:52:20 -08:00

Actix-web-CORS

start

1 - backend server

$ cd actix_web_cors/backend
$ cargo run

2 - fontend server

$ cd actix_web_cors/fontend
$ npm install
$ npm run dev

then open broswer 'http://localhost:1234/'