Created
July 26, 2022 18:56
-
-
Save srele96/40505f053bdd9ce45701cfe1dd74e9e7 to your computer and use it in GitHub Desktop.
A server with response that calls client-side function.
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
const app = require('express')(); | |
app.get('/jsonp-static', (req, res) => { | |
res.send(`jsonp({ data: 'data' })`); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment