Last active
March 14, 2021 12:08
-
-
Save Dirk94/85e691c8b8d32627f7b9ac4e5352251a to your computer and use it in GitHub Desktop.
This file contains 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
app.get('/quote', (req, res) => { | |
res.set('Access-Control-Allow-Origin', 'http://localhost:8080'); | |
res.send({ | |
quote: "The way to get started is to quit talking and begin doing." | |
}); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment