grimoire
grimoire copied to clipboard
feat: allow to specify custom headers for requests to internal proxy
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
tested it today and it is working :-) had to remove "COPY --from=build /app/pb_migrations /app/pb_migrations" from the Dockerfile ( "/app/pb_migrations": not found ) added "proxyReq: (proxyReq, req, res) => { proxyReq.setHeader('myheader', 'secretvalue'); }," to server.js and "pb.beforeSend = function (url, options) {options.headers['myheader'] = 'secretvalue'; return { url, options };}" to pb.ts