mirror of
https://github.com/actix/examples
synced 2025-06-26 09:17:41 +02:00
format markdown
This commit is contained in:
@ -1,16 +1,20 @@
|
||||
# Actix Web CORS example
|
||||
# Cross-Origin Resource Sharing (CORS)
|
||||
|
||||
## Run Server
|
||||
|
||||
```sh
|
||||
cd cors/backend
|
||||
cargo run
|
||||
```
|
||||
|
||||
## Run Frontend
|
||||
|
||||
In a separate terminal, also run:
|
||||
|
||||
```sh
|
||||
cd cors/frontend
|
||||
npm install
|
||||
npm run serve
|
||||
```
|
||||
|
||||
then open browser at: http://localhost:8080
|
||||
|
Reference in New Issue
Block a user