Update proxy.js

fixed intent