Skip to content

Instantly share code, notes, and snippets.

@Dirk94
Last active March 14, 2021 12:08
Show Gist options
  • Save Dirk94/85e691c8b8d32627f7b9ac4e5352251a to your computer and use it in GitHub Desktop.
Save Dirk94/85e691c8b8d32627f7b9ac4e5352251a to your computer and use it in GitHub Desktop.
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