1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 08:22:59 +01:00
actix-web/examples/actix_web_cors
2018-01-27 11:00:26 +08:00
..
backend add actix-web-cors example 2018-01-27 11:00:26 +08:00
frontend add actix-web-cors example 2018-01-27 11:00:26 +08:00
LICENSE add actix-web-cors example 2018-01-27 11:00:26 +08:00
README.md add actix-web-cors example 2018-01-27 11:00:26 +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/'