We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5923769 commit a7f21beCopy full SHA for a7f21be
src/extension.ts
@@ -61,7 +61,7 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
61
62
// Add headers from the header command.
63
axios.interceptors.request.use(async (config) => {
64
- Object.entries(await storage.getHeaders()).forEach(([key, value]) => {
+ Object.entries(await storage.getHeaders(config.baseURL || axios.getUri(config))).forEach(([key, value]) => {
65
config.headers[key] = value
66
})
67
return config
0 commit comments