1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/web-cors
2019-03-30 09:46:13 +08:00
..
backend Update main.rs 2019-03-30 09:43:07 +08:00
frontend Update index.html 2019-03-30 09:46:13 +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/'