I successfully deployed my Express/Node app but had to make some changes. After I made the changes to my Express/Node app, I redeployed it by using the flyctl deploy --remote-only
command. However, when I access the route, it doesn’t return the new res.json
.
Before:
app.get('/test', (req, res) => {
console.log('connected to test')
res.json({ test: 'Hello world!' })
})
After:
app.get('/test', (req, res) => {
console.log('connected to test route')
res.json({ test: 'Hello world from test route!' })
})
I’ve tried redeploying, deleting the remote builder and deploying again, and deleting the app and organization to start over from scratch with fly launch
, but the changes to the res.json
never applies. I’m assuming there might be some caching going on?
Currently on fly v0.0.389
if that makes a difference. Thanks in advance for any help!