1
0
mirror of https://github.com/actix/examples synced 2024-11-24 14:53:00 +01:00
examples/web-cors
2018-04-13 12:32:44 -07:00
..
backend Merge branch 'master' of github.com:actix/examples 2018-04-13 12:32:44 -07:00
frontend update web-cors 2018-04-13 16:03:58 +08:00
README.md actix examples in actix release version 2018-04-13 09:18:42 +08:00

Actix Web CORS example

start

1 - backend server

$ cd web-cors/backend
$ cargo run

2 - frontend server

$ cd web-cors/frontend
$ npm install
$ npm run dev

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