Repository navigation
fix cors domain for beta and freecodecamp.org - #1
Merged
raisedadead merged 1 commit intoJun 20, 2018
Merged
Conversation
Member
|
@QuincyLarson I would need access on all of the boilerplate repos. |
Em-Ant
force-pushed
the
fix/set-correct-cors-domains
branch
2 times, most recently
from
March 24, 2018 20:52
6c3f6f0 to
32e2aa0
Compare
Member
|
Ping to @Bouncey as well for above. |
Bouncey
previously requested changes
Mar 25, 2018
| //res.setHeader('Access-Control-Allow-Origin', 'https://pricey-hugger.gomix.me'); | ||
| var allowedOrigins = ['https://www.freecodecamp.org', 'https://beta.freecodecamp.org'] | ||
| var origin = req.headers.origin; | ||
| if(allowedOrigins.indexOf(origin) > -1){ |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Em-Ant
force-pushed
the
fix/set-correct-cors-domains
branch
3 times, most recently
from
March 25, 2018 11:08
7c60d41 to
73fbcfe
Compare
Member
Author
|
@Bouncey PR changed. Check it now. |
Em-Ant
force-pushed
the
fix/set-correct-cors-domains
branch
from
March 25, 2018 11:15
73fbcfe to
daabb0b
Compare
|
@Bouncey Can you re-review this when you get a moment? |
Grayman1
pushed a commit
to Grayman1/boilerplate-advancednode
that referenced
this pull request
Apr 16, 2021
Alltests PASSED!!
andreeeaa18
added a commit
to andreeeaa18/boilerplate-advancednode
that referenced
this pull request
Apr 29, 2025
marasortiz
added a commit
to marasortiz/boilerplate-advancednode
that referenced
this pull request
Jun 10, 2025
AlbertoValcarcelCrespo
added a commit
to AlbertoValcarcelCrespo/boilerplate-advancednode
that referenced
this pull request
Aug 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add
https://www.freecodecamp.organdhttps://beta.freecodecamp.orgto the CORS enabled domains to access the boilerplate. It solves freeCodeCamp/freeCodeCamp#16915