Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9e87057

Browse files
authored
Update README.md
1 parent 1064f73 commit 9e87057

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ npm start
4343
```
4444
to start node server.
4545
If you've already started rails app, then node will ask you to change its default port (:3000) to some random port, just hit enter and node will do the magic.
46+
4647
Client and server can talk even though they're at different domains(ports in this case). This is possible because of Rack CORS Middleware. Rack::Cors provides support for Cross-Origin Resource Sharing (CORS) for Rack compatible web applications. For this example I enabled requests from any domain, but it's definitely not recommended for production!
4748

4849
<h4>Option #2: Server-side rendering</h4>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /